CUPS stands for Common Unix Printing System, is an open source printing system allowing computer to become a print server and manage the printers on the network.

learn more… | top users | synonyms

11
votes
4answers
530 views

support for utf-8 encoding with lpr

While trying to send a text file to the printer via lpr from xterm, the content was corrupted beyond recognition, the cause of which was ultimately traced to the encoding of the file. If I instead ...
9
votes
2answers
395 views

Using a shell script as a virtual printer

I have a shell script that takes a PDF file as an argument and prints it with additional printer specific options. How can I add this script as a virtual printer that can be selected from the GUI? ...
9
votes
3answers
7k views

Mount printers at /dev/usb and still use CUPS

Due to a new version of CUPS, I suddenly lost the direct path to my printers that was previously available under /dev/usb/lpXXX. I used this to print directly from the command line. echo "test" > ...
9
votes
3answers
2k views

CUPS remote printer entry is stopped locally

My local CUPS daemon on my laptop has an entry for a remote printer on my CUPS server. My local CUPS daemon thinks this printer is stopped, but it's not. The only interface CUPS gives me to manage ...
8
votes
3answers
18k views

How to “close” open ports?

A few days ago I started to care a lot about my data security, I end up nmaping myself with: nmap 127.0.0.1 Surprise, surprise, I have lots of active services listen to localhost: $ nmap 127.0.0.1 ...
8
votes
1answer
3k views

How to print from iPad to CUPS?

I would like to print from an iPad2 to the office printer running on CUPS. After following a couple of cookbook style cheat sheets, printing from the iPad still does not work. the iPad sees the ...
7
votes
2answers
5k views

Printing problem with ArchLinux and Gnome 3.14 and cups service

Sice a few days (I suspect since I have upgraded to gnome 3.14) on ArchLinux I can't print anymore. If I open the printing panel of gnome control center I get a message like (it's translated from ...
6
votes
3answers
1k views

Does Printing a PDF to PDF degrade its quality?

Say I have a PDF of a website which is very long. After reading some of it, I decide there are extraneous pages in it; but rather than finding the website every time I decide to eliminate a page, I ...
6
votes
1answer
604 views

CUPS - install once, use another printer (of the same model) without re-configuring problem

For example I have "HP 1020 LaserJet" local USB printer successfully installed on a CUPS. It uses one connection. If I get another HP 1020 LaserJet printer it wouldn't print, I am having to modify ...
6
votes
3answers
2k views

Print an SVG from the command line

How can I print an SVG, already scaled to a4 size, from the command line? I tried using lpr, but instead the printer just printed out the actual XML of the file, which isn't what I wanted.
6
votes
2answers
2k views

How to print file with the PCL escape sequences?

I have CUPS and use a program that produces the raw PCL format of the document I want to print. I have no problem printing a plain text file as lp filename but when I give a file that has PCL or ...
6
votes
3answers
5k views

printing problems with DDST (aka PCL6) printer RICOH Aficio SP C240DN

I'm having big problems printing on a RICOH Aficio SP C240DN (a color laser printer). CUPS/OpenPrinting doesn't have a driver for exactly this printer. There are similar numbers but not 240DN. It ...
6
votes
0answers
25 views

Do CUPS clients need to have PPDs installed locally?

Should CUPS clients need to have PPDs added locally, i.e., should I pass them to lpadmin -P? These clients print via a local print server to a remote print server (ipp://) which I assume is set up ...
5
votes
2answers
1k views

User data in evince and cups

Some days ago my evince stopped printing. After reinstalling it and trying different versions without success I figured out that it works from other user accounts on the same box. So which files ...
5
votes
1answer
1k views

Duplex printing options using lp or lpr

The default options for a Brother MFC-9340CDW printer, are reportedly (e.g. querried via lpoptions -l) set to: PageSize/Media Size: *A4 Letter Legal Executive A5 A6 B5 JISB5 JISB6 EnvDL EnvC5 Env10 ...
5
votes
1answer
4k views

Where is the printer default option configuration file?

I am using CUPS 1.6.1. I have a problem with printing the pages with one side only. Default option is "one-sided", as in the CUPS web interface configuration. But when I do the printing, it prints ...
5
votes
1answer
327 views

How to print password protected pdf with cups from command line?

I have a *.pdf file that is password protected. I have the password and I can view the pdf with mupdf. However, printing with CUPS via lpr -P PRINTERNAME *.pdf does not work. All my printing is done ...
5
votes
2answers
5k views

Ricoh Aficio SP 100su E

After installing a Ricoh Aficio SP 100su E printer (it does scanning as well), I've tried a tenth of the GDI and PCL (5e/6) generic and Ricoh drivers without any success. I've learned from Ricoh that ...
5
votes
1answer
2k views

Dot Matrix printer setup in Debian

I am using Debian which is similar to Ubuntu. They have 7 dot matrix printers, some of which are very old (example), which have worked since 1979 and are faster than many inkjets at printing text. ...
4
votes
2answers
2k views

Do CUPS clients need to have drivers installed locally?

If I use CUPS, should clients have drivers installed locally? Example: say we have 1 Networked PC with Linux, 1 Print Server (or CUPS, Samba Print server) If the Linux PC wants to print a document ...
4
votes
2answers
5k views

Don't require root to add printers

When a user wants to add a new printer it's asking for a root password. I have an LTSP environment and the system is asking for a root password all the time; it's not asking even for a sudo'ed user's ...
4
votes
2answers
5k views

How do I make “black&white” the default?

When I print something (Firefox 5 but also other apps), the option "color" is always set to "Color (CMYK)". How do I make "monochrome" or "black & white" the default? This is a Kyocera FS-C5100DN ...
4
votes
1answer
6k views

“Filter failed” from hplip

Problem Description - Unable to print Device name : HP LaserJet M1005 MFP USB printer OS : Linux 3.8.13-1-MANJARO #1 SMP PREEMPT x86_64 GNU/Linux Error Description : Cups is working well and ...
4
votes
1answer
25 views

Can I print to a remote cupsd without installing cupsd on the client?

I have a networked printer, a cups server and several desktops all having the cups daemon running. This setup works but has an annoyance that if something won't print, the user has to check two print ...
4
votes
1answer
58 views

Forward all print jobs to one printer on CUPS server

Is there a way to send all print jobs sent to a CUPS server to a specific printer? Say printer 1 is out of service, but printer 2 in the next room is working. Can I have CUPS forward print jobs sent ...
4
votes
1answer
744 views

Configuring CUPS PDF writer for PDF/A output?

Can the PDF pseudo-printer in CUPS be configured to emit PDF/A files? If so, how to do it? I'm using CUPS 1.5.3-5 and CUPS-PDF 2.6.1-6 as provided by Debian Wheezy/7.0. Despite CUPS PDF Format - ...
4
votes
0answers
473 views

Page gets cut in the half if I print from Chrome or Google Cloud but with Firefox doesn't

I'm setting up print server for custom thermal printer on RaspberryPi running Linux Debian and I have a strange problem. If I print a test page it prints OK, same with web page from Firefox, but when ...
3
votes
3answers
3k views

How to show the CUPS printer jobs history?

I am printing some files from a remote computer to a network printer with the lpr command. It apparently worked, but some minutes later when I typed lpstat or lpq, the job had already disappeared, it ...
3
votes
1answer
250 views

Specify MIME type to CUPS's lpr command

It seems when you pass a file to lpr (or pipe to it), it attempts to guess the MIME type. Sometimes, however, it guesses wrong—and then attempts to print something "interesting" at best. Is there a ...
3
votes
1answer
4k views

CUPS gives 'Unable to open the initial device, quitting' when printing to network printer

I am trying to print over Wi-Fi to an HP Photosmart D110 printer which is successfully recognized by CUPS. But I only get a sheet with the error message Unable to open the initial device, quitting. ...
3
votes
3answers
3k views

Can (CUPS) ppd files for Mac OS X be used for linux?

I am looking at buying a printer (actually an all-in-one I prefer for the features it provides, but I want to focus on the printer part here) which does not provide linux drivers, but does provide Mac ...
3
votes
1answer
545 views

Print PDF scaled-down and aligned

I want to print a PDF file with all pages scaled down equally (to, say, 70 %). The scaled-down pages should then be left-aligned on the printing paper. This doesn't seem to be possible with lpr ...
3
votes
1answer
2k views

CUPS error log contains “No such interface `org.freedesktop.ColorManager'”

On my Ubuntu 13.04 laptop, CUPS writes this message into /var/log/cups/error_log for each printer on restart: W [25/Jun/2013:10:00:26 +0100] AddProfile failed: ...
3
votes
2answers
2k views

How on earth can I stop this CUPS-related message on my Debian 6 virtual machine?

I’ve got a Debian 6 VMWare virtual machine that I mostly use via SSH (but occasionally via the GUI). Every few minutes, the following message gets printed in my terminal: CUPS config timestamp ...
3
votes
3answers
523 views

How to make dot matrix printer print every line of 'tail -f'

I have a dot matrix printer, an Epson LQ-500. It works well with CUPS, and I use it to print listings sometimes, text files, etc. now, I'd like to use it as a logging printer. for that, I need it to ...
3
votes
2answers
339 views

Replacement to CUPS Browse Protocol

The CUPS "browsing" protocol was marked as deprecated being removed at v1.6 of CUPS, due to problems with broadcast and managed networks/WiFi. It's an UDP protocol to broadcast information about ...
3
votes
3answers
2k views

Can't print to PDF using cups-pdf; used to work, now “failed to set file mode” printing as non-root

Here's something really odd: something that used to work fine in Debian, and then broke, even without a dist-upgrade. I used to be able to use the CUPS PDF virtual printer to print anything to a PDF ...
3
votes
1answer
134 views

CUPS and printer security

I would like some help on securing a networked printer. Specifically, I'm interested in the following: Preventing unauthorized access to the printer: I would like only certain laptops that connect ...
3
votes
1answer
633 views

how can I configure cups to be used from network machines with windows?

Ive been fighting with "CUPS" since many hours (too many) and I still cannot figure out whats wrong, I installed a printer on a Debian Machine, when I will add a printer I have two options "Local ...
3
votes
1answer
1k views

Printing PDF with not embedded TrueType Font (cups / lpr)

I have a PDF in which the TrueType font OCRB is used, however the font is not embedded. So I tried to install the font on my system (which is by the way a SLES11 SP2), I did the following things: ...
3
votes
1answer
191 views

How to print to a Lexmark 5630 printer using CUPS

I want to print using a Lexmark 5630 printer, and it appears they only have drivers for Mac and Windows. Does CUPS support it, with maybe some reverse-engineered driver, or am I at a loss?
3
votes
0answers
71 views

lpr ignores options specified by -o

When submitting a text file to a printer (HP Color LaserJet 4650) from a Debian 8/openbox system, the -p or -o prettyprint option is ignored. Printing the same file from a MacOS X system produces a ...
3
votes
1answer
168 views

Convert to postscript format using the Backend command before sending to a printer

Without using CUPS is there an way to add something on the Backend line in the print queue to convert all print sent to a queue to postscript from PDF format before sending the output to the printer?
2
votes
1answer
399 views

Controlling users' default printer as an administrator

What are the necessary steps to change the default printer for individual users on a reasonably recent Linux system using CUPS? (i.e. not the system-wide default) The CUPS lpr manpage indicates that ...
2
votes
1answer
2k views

How to open cups in debian squeeze to all clients

The standard CUPS configuration on debian squeeze allows only access from localhost. I would like to allow all LAN users the same permissions. The LAN is behind a secured router. Access to the eb ...
2
votes
2answers
378 views

lpr: How to specify the page range “3 to end”?

The CUPS doc does not say how to specify a page range such as "3 to end". Can this be done without knowing the number of pages of the document? So something like lpr -o page-ranges=3-end -P myprinter? ...
2
votes
2answers
2k views

Setting up CUPS and Brother Wireless Printer

I am running Fedora 18 and have CUPS and the brother printer driver and CUPS wrapper (provided by brother) installed on my machine. The printer model is the MFC-255CW. This printer works seamlessly ...
2
votes
2answers
535 views

View all user's printing jobs from the command line

I'm running Fedora 17, Gnome (3?), and using bash from terminal. Whenever I run lpstat I only get a list of my jobs, but every time I go to retrieve my jobs from the printer, somebody else is ...
2
votes
5answers
2k views

CUPS - check if print successful (either python or in system)

EDIT: I forgot to make it clear I'm using python and pycups. The code is python but I shouldn't have thought that was enough. I've dug through the cups documentation a few times and couldn't find ...
2
votes
1answer
3k views

Hold and release CUPS print jobs from command line

Is is possible to hold and release CUPS print jobs from command line? How to do it? I tried cupsenable: sudo cupsenable --release myprinter but it didn't work.