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
127 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
166 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
5k 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
1k 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
9k 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 ...
7
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 ...
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
3answers
1k 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
3answers
3k 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 ...
5
votes
1answer
455 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 ...
5
votes
1answer
62 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
1answer
1k 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
624 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 ...
4
votes
1answer
133 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 ...
4
votes
1answer
2k 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 ...
4
votes
2answers
3k 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 ...
4
votes
2answers
766 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 ...
4
votes
1answer
466 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
399 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
2answers
3k 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 ...
3
votes
1answer
117 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
3answers
2k 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
1k 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
1answer
69 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
1answer
462 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
3answers
425 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 ...
2
votes
1answer
229 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
3k 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. ...
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
206 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
929 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
1answer
4k 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 ...
2
votes
4answers
1k 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
2k 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.
2
votes
2answers
342 views

Is there a way to get the filename (or title) of a completed print job?

The lpq -a lists, among other things, the name of each file printed. Rank Owner Job File(s) Total Size active myuser 2 version.txt 1024 ...
2
votes
1answer
900 views

Unable to change the default printer

When I use the command $ sudo lpoptions -d Deskjet-F300-series it won't change the default printer. $ lpstat -a Deskjet-F300-series accepting requests since Sun 10 Apr 2011 11:02:12 AM CEST ...
2
votes
2answers
501 views

How do I get an HP Deskjet F4210 to work?

I brought to home my friend's printer (HP Deskjet F4210). I'm using Xubuntu 10.04. When I use the command lpr scanned.pdf the printer does nothing. lpq writes Deskjet-F300-series is not ready Rank ...
2
votes
1answer
24 views

Credential in PPD file: Is there a way to hide it?

We have a copying machine that can be used as a printer. In order to do that, I have to provide a credential in plain in the Xerox.ppd file. Problem: Any user on the system can grep credential ...
2
votes
1answer
406 views

USB to Virtual Machine XenServer 6.2

I've been fighting with this for a while and still nothing. So here is the deal, I have a XenServer 6.2 machine with many VM. I'm trying to attach the USB Port to the Virtual Machine, to use it with ...
2
votes
1answer
681 views

Resume last print job from command line

To resume a job from command line I can call lpq which gives me the job number for example 211 and then lp -i 211 -H resume. However is there a way to resume the last job without figuring out its ...
2
votes
1answer
146 views

Samsung CLP-31x printer not working

So, my Samsung CLP-31x series printer stopped printing from Debian 6 applications. Closed source applications such as Chrome work, as does Foxit under Wine. Currently using the foo2qpdl CUPS driver. ...
2
votes
2answers
1k views

How to specify printer paper size in mm instead of inches?

In eog (Eye of Gnome) 2.30.2, I found no way to specify size unit in mm in Print... and Page Setup dialogs: So I have to convert these sizes in inches to sizes in mm. I'm using CUPS as the print ...
2
votes
1answer
178 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?
2
votes
1answer
10 views

Printing through a Samba server without recording the password in plaintext

I need to access a printer through a Samba server. In CUPS, I could make it work by entering a device location such as smb://username:password@hostname/printer_name. However, it would mean for my ...
2
votes
0answers
14 views

Integrate custom LPD filter into CUPS

I've stood up a new print server and instead of using LPD we're trying to use CUPS. The old LPD server had custom filters written in C that need to be applied to the new CUPS server. The problem is ...
2
votes
0answers
203 views

Can't print pdf file with lpr

I am currently using Arch linux. I am trying to print a pdf file for the command line, it is easier that way as I need to print several range of pages. Just for testing I issue a command to print a ...
2
votes
0answers
127 views

Why doesn't cups detect my canon selphy USB printer

I recently upgraded my system to a fresh install of Linux Mint 16. I was hoping that would support my Canon Selphy CP770, since that is claimed to be supported by the new version of Gutenprint. ...
2
votes
1answer
177 views

How can I determine user base page limit for a printer?

I'm using Debian Linux. I want to determine user base page limit, different page limit for different users, for a printer. I can determine page limit for printer with CUPS but can not determine page ...
2
votes
0answers
460 views

Enter user authentication details for a printer?

I have a printer which is configured using the correct drivers. However, the printer requires user authentication (i.e. a username and password) to print. Where are authentication details usually ...