Tag Info

Hot answers tagged

10

In principle, it is possible to print a PDF through some chain of programs that ends in a PDF generation with no quality loss. Two major things have to happen to guarantee a perceptually lossless conversion: Every link in the chain has to understand all of the document elements, and be able to pass them along to the next piece in the chain losslessly: ...


10

127.0.0.1 is not the "outside world", it is looking around inside the house. Check your firewall configuration (iptables in Linux today), most of them shouldn't be accessible from the ouside. Don't run services you don't need. Uninstall all not required software. Change passwords to be stronger. Check your usage of the system, don't go chasing any ...


10

Determine your exposure Taking your output from the netstat command, what looks like a lot of services is actually a very short list: $ netstat -lntup | awk '{print $6 $7}'|sed 's/LISTEN//'| cut -d"/" -f2|sort|uniq|grep -v Foreign avahi-daemon:r dhclient dropbox nmbd rpcbind rpc.statd smbd sshd Getting a lay of the land Looking at this list there are ...


5

The print server running CUPS is the only machine that needs to have the drivers. Read about CUPS on Wikipedia for example - in Overview section it states this quite clearly : CUPS allows printer manufacturers and printer-driver developers to more easily create drivers that work natively on the print server. Processing occurs on the server, allowing for ...


5

Have a look at the files in /etc/cups. I don't have a Fedora 15 system to hand - but looking at a recent RHEL box, the relevant bits are in /etc/cups/cupd.conf .... # Administrator user group... SystemGroup sys root .... # Restrict access to configuration files... <Location /admin/conf> AuthType Basic Require user @SYSTEM Order allow,deny ...


5

If I understand your main goal correctly, you don't need to go through any hassle with printing to PDF. You can use a command-line tool like pdftk to extract any set of pages directly from a PDF file and save them as a new one. (It also allows many more operations like optimizing, adding/removing password, rotating some pages, etc.) The tool is available in ...


5

Yes a program exists: lpstat - print cups status information $ lpstat -W completed -W which-jobs Specifies which jobs to show, completed or not-completed (the default). This option must appear before the -o option and/or any printer names, otherwise the default (not-completed) value will be used in the request to the scheduler. ...


4

Inkscape can convert between various vector graphics formats, including SVG to PDF. Although it's normally a GUI application, it can run in batch mode without an X server available. inkscape --without-gui --export-pdf=foo.pdf foo.svg lpr foo.pdf Or if you want to print directly: inkscape --without-gui --export-pdf=/dev/stdout foo.svg | lpr Another ...


4

You can use lpoptions. See man lpoptions. The command looks like lpoptions -d myprinter and creates a line in ~/.lpoptions (or on some systems ~/.cups/lpoptions) like Default myprinter See Command-Line Printing and Options, section "Setting the Default Printer".


4

The fix is in the UDEV rule. Since it is not possible through standard ways. You just create an UDEV rule which would detect printer adding and then run lpadmin -p PRINTERNAME -v CONNECTION?serial= so printer would be automatically reconfigured to use another connection. P.S: I would give 300 of points if someone gave me right direction. I hope I will ...


4

You should compare the following file between your account and an account for which printing works: ~/.config/evince/print-settings (and/or backup your copy and replace with one from another user). If that doesn't help you might try to replace the whole ~/.config/evince directory.


4

The MIME type is sent in the IPP attribute document-format, which you can specify with the -o option: lpr -o document-format=text/plain ... Note that if you try a document format that your CUPS server doesn't support, you'll get an error: $ lpr -o document-format=image/svg+xml drawing.svg lpr: Unsupported document-format "image/svg+xml". That error is ...


3

I have fixed this issue, I found that the cups server I had pointed the client to was distributing the wrong driver. I changed the client to point at the printer's built-in server and the problem was fixed.


3

If you're using Samba/CUPS as a print server for windows based clients then the clients will normally have drivers for that printer, although in some cases CUPS can do its own translation. For example, it is possible to set up ghostscript and render postscript to display on a non-PS printer, although the Windows clients would need a PS driver that plays ...


3

I found a simple way to do it over the browser. Just went to http://localhost:631 and then to administration. On the right side there are several options, I activated these and restarted: Share printers connected to this system Allow printing from the Internet Advertise web interface Allow remote administration Allow users to cancel any job (not just ...


3

You can configure CUPS defaults for your account by running the lpoptions command. Run lpoptions -l to see what options are available for your printer, and determine which one corresponds to the color/monochrome choice. For example, with this output $ lpoptions -l | grep Color ColorModel/Color Model: Gray Black *RGB CMY CMYK KCMY I would set ColorModel to ...


3

In general, no, quality loss should not occur. If it does, the program is to blame, not the format. Some things that could occur that could be construed as quality loss: Images may be recompressed (potentially causing generation loss) Text (and other vectors) may be turned into splines, potentially causing usability issues (inability to copy text) etc I ...


3

Apple made some modifications to the locale detection in the version of CUPS that it ships. Looking through the Apple-modified version of cups/language.c (specifically, 10.6.8’s language.c), I found that you should be able to override the language by setting LANG to your preferred language as long as you also set SOFTWARE (any value, even the empty string). ...


3

Have a look at the CUPS port in cygwin-ports, they provide version 1.4.6 as of January 30th 2011. It patches quite a lot...


3

Solved by using the hpcups driver rather than the hpijs one (picked when configuring the printer).


3

"Broken Pipe" with JetDirect printers usually indicates a problem establishing a network connection to the printer. It may come down to enabling debug logging in cups and seeing if that has anything, but here are some ideas: use netcat to see if you can form a TCP-level connection with the printer, this will let you know if there's a network problem (if ...


3

Maybe you are looking for lpoptions ? Use lpoptions -l in order to know what's the name for your printer. You can play it like thi (example with an HP Photosmart) : lp -o scaling=//100// -oColorModel=KGray image.jpg


3

You don't say in your question but are you able to print using other applications? The command line? I'd confirm that you're printer is still configured and working correctly by doing the following: 1. confirm that printer is setup and accessible using: lpq # check for jobs on the default printer % lpq mfc-8480dn is ready no entries # check for any jobs ...


3

I agree with @don_crissti that this is most likely being caused by the ColorManager interface, (i.e. org.freedesktop.ColorManager). If you're not familiar with ICC profiles they're profiles which describe a particular device's color attributes, you printer in this case. You can read more about ICC Profiles here on wikipedia, or color management in general. ...


3

First two warnings appear in the function guessmake() of Foomatic::DB. Looking at the code path, $manufacturer and $model are always undefined, so doing an eq comparison does not make sense here, but are harmless here except for the noise. I did not look at the other warnings. The easist to "fix" this is to remove the -w option from foomatic-configure's ...


3

The right place to set options for the (/this) printer, is in /opt/brother/Printers/mfc9340cdw/inf/brmfc9340cdwrc. The problem of always resulting in a DuplexTumble printing, was forced by the respective code-line (BRDuplex=DuplexTumble) in this configurations file. Setting the option in question to BRDuplex=DuplexNoTumble, and restarting the cupsd service ...


2

With CUPS (the standard printing system on Mac OS X, also used by many but not all other unices): lpstat -W completed


2

CUPS provides a list of all jobs on a printer on its web front-end. Go to http://localhost:631/jobs?which_jobs=completed or whatever machine is hosting the print server.


2

a) Removing cups doesn't actually remove CUPS. b) you want to use apt-get purge not remove, probably. You want to purge this lot, at a minimum. You can do it with a wildcard or regex. apt-get purge '^cups' seems to delete all packages beginning with cups, but really we want all files containing cups. Regex experts to the rescue, please. :-) See apt-get ...


2

sudo lpoptions -d sets the system-wide default printer (by editing /etc/cups/lpoptions). You may also have a per-user default printer, which overrides the system-level setting. The per-user default is stored in ~/.cups/lpoptions; you can change it with lpoptions -d.



Only top voted, non community-wiki answers of a minimum length are eligible