Questions tagged [cups]

CUPS (acronym for Common Unix Printing System) is a printing system for computer operating systems like Unix, allows a computer to act as a print server. A computer running CUPS is a host that can accept print jobs from client computers, process them and send them to the correct printer.

226 questions
59
votes
13 answers

How to resume CUPS printer from command line?

I have printer in CUPS that due to driver problems (HP 1010) from time to time goes into pause. I would like to write a shell script that will execute once per hour to resume a printer in CUPS. But I have no idea after googling for couple of…
Stani
  • 721
31
votes
2 answers

lp vs lpr. What to use in case of CUPS and what historical difference?

My Debian distro provide the lp and lpr commands for printing from CUPS. I am a noob to printing in UNIX but have other tech skills. I tried to find a difference in man lp and man lpr. It seems that lp only have more options... The gv utility uses…
gavenkoa
  • 2,154
19
votes
5 answers

How to add a fake, dummy, null printer in CUPS?

I'm writing a piece of software that supports multiple printers. In order to test it, I need to add multiple printers to my CUPS server. How can I do that? I want to add a few fake printers that will send the jobs directly to /dev/null. That way, I…
12
votes
6 answers

IPP Printing from Windows 7 Ultimate

I have network IPP working on Ubuntu and Windows XP. On my Windows 7 instance, it refuses to acknowledge the remote server connection. Can anyone suggest how to configure this correctly? My install steps are: Add Printer Add a Local Printer Create…
cmcginty
  • 3,431
11
votes
1 answer

Is there an approved way to clear /var/cups/cache on a Unix system?

My CUPS server has bad, obsolete data in /var/cups/cache. I could just blow away all the files, but I'd like to know if there is a "correct" way to clear the CUPS cache. Man pages and Google have not yielded an answer.
10
votes
2 answers

Can a printer driver access internet if it wants?

I want to buy new a printer because my old one refuses to print unless I give it access to the internet outside the LAN. I can't really control what it is saying about my print jobs to other organizations and I don't like that. This motivates the…
10
votes
3 answers

How to set the minimum margin in CUPS / foomatic driver?

I have a Dell 2130cn laser printer which has no PPD print driver for CUPS, so I used the generic foomatic PCL6 (/pxlcolor if that matters), and it's not correctly recognizing my printer's print margins and so forcing it to use 0.5" for top and…
ethanwu10
  • 1,169
9
votes
2 answers

How to rename a CUPS printer?

I do lot of printing in command line through lpr command, for which I need conveniently short destination names like lp1, lp2 etc. In past I could name the printers, but in opensuse 13.2, yast automatically selects a very long CUPS printer names…
QChem
  • 91
8
votes
9 answers

Manual Duplex printing for Mac (and/or Linux)

My printers don't support automatic duplex printing. I'm looking for a solution for my Mac and Linux computers that I've seen with most Windows printer drivers: Check "Manual duplex" in the printer screen Printer starts printing one side A dialog…
7
votes
3 answers

Debian ARM and Brother DCP195C with CUPS

I want to have acces to my DCP 195C printer (Brother) over LAN. For this purpose I have bought an raspberry pi and installed CUPS on it. CUPS runs fine and everything else is running smooth as well. My problem is that I cannot install the drivers…
user
  • 185
  • 1
  • 1
  • 6
7
votes
1 answer

Getting avahi to automatically publish CUPS printers

I know I can manually add a .service file for each printer I have. But I would like to have them published automatically. But from what I've read, it is also possible to get CUPS to inform avahi about its printers. (both cups and avahi are compiled…
Francisco
  • 2,418
7
votes
2 answers

Arch Linux - Cannot start CUPS service with systemd

In order to get printing working in Arch Linux, I installed cups, cups-filters, and hplilp (ghostscript and gs-fonts were already installed). However, when I try and make the CUPS service run on startup using: systemctl enable cups.service I get…
tesselode
  • 241
7
votes
2 answers

Printable A5 booklet on A4 sheets from A5 pages using psutils, pstops and CUPS?

I want to create a CUPS printer queue which accepts books with A5 pages and automatically arranges them as booklets on A4 paper before printing them. Essentially, this is done wonderfully using the following pipe: psbook -s4 | psnup -Pa5 -pa4…
6
votes
1 answer

How to get Canon printers to work with Arch Linux?

I am trying to setup a Canon MF4412 printer on my Arch Linux desktop. I followed the official guide in setting up a CUPS server/client as well as installing the cndrvcups-lb driver package. However, my CUPS server is still unable to detect the…
Ayrx
  • 205
6
votes
9 answers

How do I setup a WI-FI printer?

I have a Samsung ML-2168W printer with WI-FI support. Currently it is connected to my computer with a USB cable. However, I have no clue of how to connect it to the network through WI-FI (with WPA). Any ideas? Edit 2021-02-24: The question is about…
1
2 3
15 16