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.

219 questions
57
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
  • 701
  • 1
  • 5
  • 4
29
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
  • 1,906
  • 5
  • 31
  • 38
15
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…
Denilson Sá Maia
  • 12,863
  • 12
  • 40
  • 44
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,161
  • 5
  • 26
  • 27
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.
Norman Ramsey
  • 2,843
  • 8
  • 31
  • 41
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…
Mikkel Rev
  • 179
  • 1
  • 8
9
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,109
  • 1
  • 6
  • 20
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…
Chris Lercher
  • 642
  • 1
  • 7
  • 15
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…
Sven Niehus
  • 185
  • 1
  • 1
  • 6
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
  • 2
  • 4
  • 9
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…
Rosh Oxymoron
  • 171
  • 1
  • 4
6
votes
4 answers

How do I print an entire page in Firefox?

For my personal records (e.g. receipts), I like to print a web page in Firefox using CUPS print-to-pdf. This works great when the page layout is narrow. However, if the page is too wide, the output is cut-off on the right. I have tried all the…
iglvzx
  • 23,459
  • 13
  • 85
  • 122
6
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
  • 61
  • 1
  • 3
5
votes
1 answer

Print over remote CUPS server, but just show a subset of the printers

I'd like to print from my Ubuntu laptop (karmic) to some networked printers. Our organisation uses a CUPS server with several hundred printers. What I know I can do is: CUPS_SERVER=printers.company.com acroread document.pdf and then Adobe Reader…
jdm
  • 2,025
  • 5
  • 25
  • 37
5
votes
3 answers

Entered wrong username at cups and now I can't manage printers

I just installed cups. When the webinterface asked me for username and password, I gave my regular user and not the root password. Now I can't log in (forbidden). I tried to clear the browsing data without success. What should I do?
Yotam
  • 629
  • 2
  • 9
  • 18
1
2 3
14 15