Questions tagged [cups]

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.

Filter by
Sorted by
Tagged with
33 votes
4 answers
84k views

Cups "add printer" page returns forbidden on web interface

Cups "add printer" page returns forbidden on Web Interface on http://localhost:631/admin I tried adding my main user to "lp" and restarting, but no change. I also tried setting at the top of the cups....
Ray Foss's user avatar
  • 1,002
33 votes
2 answers
4k views

CUPS prints n² as many copies as I want

This has baffled me for a few weeks now. I have a Kyocera network printer set up in CUPS, and whenever I try to print to it I seem to end up with n² as many copies as I request. That is, I try to ...
Mala's user avatar
  • 610
30 votes
1 answer
18k views

a stop job is running for make remote cups printers available locally

At almost each shutdown of my Linux Mint 18.2 Cinnamon 64-bit, I must wait ages at: a stop job is running for make remote cups printers available locally Some information I find most useful: I ...
Vlastimil Burián's user avatar
24 votes
3 answers
79k 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 ...
RSFalcon7's user avatar
  • 4,407
23 votes
6 answers
109k 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 ...
Santiago's user avatar
  • 418
21 votes
3 answers
41k views

How to disable CUPS service on reboot with systemd?

I often connect to a network, which has a lot of printers. When printer discovery is ongoing, a lot of distracting messages pop up in GNOME. I use printer only rarely, so I would prefer to keep CUPS ...
ancient_polaroid's user avatar
20 votes
1 answer
29k views

unable to install anything using apt-get because of insserv

Whenever I try to install something using apt-get I get the error messages involving insserv. I have tried install many different packages but everything give same error. And apparently, CUPS package ...
Pranjal's user avatar
  • 395
19 votes
5 answers
10k views

What does spool mean for printing?

Mark wrote a comment for me I don't know offhand how to make cups not spool, that is, how to make the lpr command only exit after the printer driver has run. What does "spool" for printing mean? ...
Tim's user avatar
  • 102k
19 votes
2 answers
25k views

Printing problem with ArchLinux 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 ...
lviggiani's user avatar
  • 3,599
17 votes
4 answers
14k views

Printing two pages per sheet from the command line

Say I start off from a PDF document, say of 12 pages, viewed with evince. To produce another PDF of 6 sheets, with a page setup of two pages per side, I normally use the "Print to File" device ...
XavierStuvw's user avatar
  • 1,119
15 votes
2 answers
27k 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 ...
Aaron Digulla's user avatar
15 votes
3 answers
28k 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" > /...
user avatar
14 votes
1 answer
26k 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 ...
Allen's user avatar
  • 339
13 votes
1 answer
6k views

How to select paper source with lpr?

I had trouble printing PDFs with evince (fixed by Evince does not show printers) and in the meantime used lpr successfully to do things. I found several options in the man page (page-ranges, number-...
Jasper's user avatar
  • 3,638
13 votes
2 answers
2k views

Why is my PostScript print quality so poor?

My wife and I downloaded PDF museum passes and printed them on the same PostScript laser printer. To my surprise, hers looked much better! On the left is the printout from her Mac, and on the right ...
Aaron Brick's user avatar
13 votes
2 answers
2k 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 ...
OEP's user avatar
  • 231
12 votes
3 answers
24k 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 ...
Nikos Alexandris's user avatar
11 votes
2 answers
17k views

CUPS printing protocols: what's the difference between RAW/JetDirect - IPP - IPP14 - LPD?

I am debugging some printing issues on a small LAN, and although I'm fairly sure the issues I'm facing are not related to cups itself, I have been tinkering with the printing protocols that both CUPS ...
zenlord's user avatar
  • 688
11 votes
3 answers
5k views

LPR or CUPS print to Airprint printer

I've seen many a blog posting describing the process of using CUPS to present a non-airprint printer to iOS devices. However, I've dug high and low trying to find if anyone has figured out how to ...
Peter's user avatar
  • 221
10 votes
4 answers
26k 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 fine. ...
Jay's user avatar
  • 709
10 votes
2 answers
9k 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 ...
bakytn's user avatar
  • 2,951
10 votes
1 answer
5k views

How shall I generate a pdf file instead of a ps file using enscript?

I was wondering why the following generates a ps file not a pdf file? How can I make it generate a pdf file? Thanks. $ enscript -B -PPDF code/bloom.c -o bloom.pdf [ 2 pages * 1 copy ] left in bloom....
Tim's user avatar
  • 102k
10 votes
4 answers
40k views

remove cupsd completely from Linux Mint

I tried using apt-get remove cupsd but I found traces of it in different locations and it is still running and listening. How can I rip it completely from my machine? Is it possible to remove the dpkg ...
jes516's user avatar
  • 813
10 votes
3 answers
34k views

Get list of installed printers

Inside of a script I send a certain file to print using the lpr command on an user-selected printer. The list of the printers, from which the user selects the one to use, I get using the lpstat -a ...
Enoon's user avatar
  • 225
10 votes
3 answers
4k 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? ...
user80551's user avatar
  • 1,619
10 votes
3 answers
8k 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 ...
darron's user avatar
  • 393
10 votes
4 answers
8k 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 ...
user001's user avatar
  • 3,698
9 votes
8 answers
7k views

Manual Duplex printing

I have a printer (Samsung M2022W) which doesn't support duplex printing. However, I would like to manually print on both sides (that is to say, print even pages, then insert these pages again on the ...
ppr's user avatar
  • 1,907
9 votes
1 answer
15k 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.
student's user avatar
  • 18.3k
9 votes
2 answers
10k 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?
Marius Hofert's user avatar
8 votes
4 answers
15k views

How to force lp from CUPS to print in grayscale?

I want to print an image from a command line: lp -o scaling=//100// image.jpg How can I force it to be printed in grayscale?
Petr's user avatar
  • 1,654
8 votes
3 answers
8k 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.
ixtmixilix's user avatar
  • 13.2k
8 votes
2 answers
2k views

How to use very old printer (Panasonic KX-P1170)

Both for fun and for artistic projects I'm trying to connect an old dot matrix printer, the Panasonic KX-P1170, to a certain old computer. In such old computer, which is the only one I have with a ...
il mietitore's user avatar
8 votes
3 answers
6k views

CUPS reports all successful, but nothing prints on Brother HL-2240 series USB printer

I'm trying to get a USB-connected Brother HL-2240 printer to work on Linux (Ubuntu Xenial with cups 2.1.3-4ubuntu0.3). I turned debugging up to maximum and the cups error log very verbosely tells me ...
dspeyer's user avatar
  • 303
8 votes
2 answers
9k 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 ESC/...
obeliksz's user avatar
  • 300
8 votes
1 answer
25k views

need to restart cups to reach network printers

Every once in a while (not necessarily after resuming from suspend or booting) I have to sudo /etc/init.d/cups restart to see again the network printers. Is there a way to bypass this process, or what ...
nightcod3r's user avatar
8 votes
1 answer
6k 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 ...
gunther's user avatar
  • 81
8 votes
2 answers
5k views

How to print from Arch Linux via Wi-Fi to Canon MG6450?

I have a Canon MG6450 with Wi-Fi enabled and an up-to-date Arch Linux installation with cnijfilter-mg4200 3.80-1 installed. I can see the printer in print dialogues (sometimes it takes a second to ...
l0b0's user avatar
  • 51.5k
7 votes
3 answers
3k 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 ...
Kazark's user avatar
  • 979
7 votes
2 answers
24k views

RPM: Installed (but unpackaged) file(s) found on Centos 6 with CUPS 1.7.1

Trying to install CUPS 1.7.1 on Centos 6.5 via RPM, I use: # rpmbuild -ta cups-1.7.1-source.tar.bz2 --without dbus --without libusb1 but stops with below error: Checking for unpackaged file(s): /...
Francisco Gonzalez's user avatar
7 votes
1 answer
1k views

How to log into CUPS admin with Debian "rootless" system?

When I installed Debian 12, I was given the option to not allow root logins. Instead, the system lets me use su each time I need to do some minor maintenance. When I go to http://localhost:631/, ...
Village's user avatar
  • 5,045
7 votes
7 answers
27k views

Linux as a network printer device (Raw, port 9100)

Is possible to configure a Linux computer to work as a "network printer device" ? I have an USB printer that I intend to share in the network like a native network printer device. Is that possible? ...
Luciano's user avatar
  • 1,159
7 votes
3 answers
2k views

How to reverse-engineer a CUPS printer/print job?

I have quality issue with PDF printing local (CUPS) vs. Google Cloud Printing. (GCP is better, with CUPS I get wrong size, wrong characters, wrong fonts. So I want to know what CUPS does!) The printer ...
Robert Siemer's user avatar
7 votes
1 answer
15k views

How to print PCL file output to PDF file instead of printer

Running UniVerse, we have files generated that are PCL and (after much tweaking of settings) can print them to physical printers, but we need to print to PDF files. Have installed Cups-PDF, which ...
City of High Point's user avatar
7 votes
1 answer
349 views

How can I limit engagement with a large office LAN?

I work in a large office building with hundreds of other computers on the same LAN. I don't have any reason to communicate with most of these computers, and when I do, it's always on an "opt-in" basis ...
cxrodgers's user avatar
  • 223
7 votes
3 answers
20k views

Printing on custom paper size / adding paper size to PPD

I have some trouble when printing to custom paper sizes. Currently, I want to print something to a 21cm x 21cm card. So, I created a document with this size in libre office and exported it to PDF. ...
sweber's user avatar
  • 326
7 votes
1 answer
3k 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 ...
lord.garbage's user avatar
  • 2,373
7 votes
2 answers
2k views

What is the difference between cups-filters and foomatic-filters?

I tried googling the question What is the difference between cups-filters + foomatic-filters but I could not find anything helpful. The most descriptive result was from a mailing list but did not ...
northern-bradley's user avatar
7 votes
5 answers
14k 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 ...
Luka's user avatar
  • 81
6 votes
4 answers
11k views

CUPS: Adding printer fails with "Unable to get list of printer drivers: Success"

When installing a new printer using the CUPS web interface, instead of displaying the list of drivers only the message Unable to get list of printer drivers: Success is displayed. No printers can be ...
Golar Ramblar's user avatar

1
2 3 4 5
11