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

1
vote
1answer
75 views

When would CUPS use TLS?

I'm running Debian Testing on amd64, with the apt-listbugs feature that tells me if bugs are present before upgrading. Now the package libgnutls-deb0-28 has a serious bug to the effect that "CUPS ...
1
vote
2answers
221 views

Print UTF-8 file with command line tools

I want to print a file using a command like cat filename > /dev/lp0 where the file contains characters like ùàç encoded in UTF-8. Is this is possible or do I need to use CUPS? I'm using an ...
2
votes
1answer
34 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 ...
0
votes
1answer
322 views

Landscape Printing in Linux

I'm having trouble printing in landscape mode in a Gentoo (AMD64) installation. The setup: CUPS-1.7.5 CUPS-Filters-1.0.54 ghostscript-gpl-9.14 proprietary brother drivers Printer: Brother DCP ...
0
votes
0answers
209 views

How to install a thermal printer on ARM embedded linux using CUPS

I need to install a thermal printer (MY PRINTER) on my ARM linux embedded system. I have a board with an ARM Cortex A5 Atmel SAMA5D34 processor and linux kernel 3.10. With the buildroot I have ...
0
votes
0answers
52 views

Best way to configure computer lab printers using CUPS (or other print server)?

I manage a computer lab that is used mainly for printing. We've got three identical HP LaserJet P3015s set up and connected by USB to an Ubuntu server, which is then networked to the other computers. ...
0
votes
1answer
395 views

How to print pcl or esc/p code on host-driven printer?

I have a host-based printer (HP Deskjet D2460) and have some printer language files (pcl codes) that I would like to print out. I saw that in cups there are some filters like rastertopcl, etc. which ...
2
votes
0answers
177 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 ...
3
votes
0answers
95 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 ...
11
votes
4answers
804 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 ...
1
vote
2answers
271 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 ...
3
votes
1answer
854 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 ...
1
vote
0answers
36 views

Is it possible to cancel a job in the printer spooler with cancel -a

I need to cancel a printing job in a printer cause the job I want to send is a "high priority" job. I have CentOS 6.2 installed. I know that with CUPS and cancel -a I can cancel all local printer jobs ...
0
votes
0answers
29 views

Can't execute server messages outputed when printing to laser 3 on openSUSE

This is my 1st post and I have a sporadic printing issue I'm needing some help with. I have 3 laser printers setup on my secure network; all ping on different IP addresses; 2 of which are printing ...
0
votes
1answer
346 views

Get driver location for particular printer via command line

This is on OS X 10.8. I want to be able to arbitrarily pull the configuration for a particular printer, so I can use it in a package-creation script. The script (not mine) uses /usr/sbin/lpadmin -p ...
1
vote
1answer
22 views

How can I get my lp printout to *always* be smaller and one sided?

The default output is double sided and too big. I can get better output with lp spec/scenarios_spec.rb -o sides=one-sided -o fit-to-page How could I make those options - -o sides=one-sided -o ...
5
votes
1answer
399 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
2k 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 ...
1
vote
1answer
100 views

Know the name of a driver to use on the CUPS gui

I have this Epson L355 printer and according to www.openprinting.org I need to use the epson-201207w driver; however, on the CUPS config panel at http://localhost:631, the list of drivers only ...
1
vote
0answers
81 views

Print EPS file at original size but changed position

I'd like to print EPS files, ensuring they print at their original size. I found out that my default document viewer, Okular from KDE, will always scale to fit size, and I can't seem to find a way to ...
0
votes
0answers
111 views

Canon MF4550d refuses to print from Linux server

We have several Canon mf4550d printers at the office directly connected to Windows 7 machines. I need to print from a Linux server to those printers. I have installed the latest drivers for my model ...
1
vote
1answer
281 views

CUPS filter for a raw queue

I am having issues figuring out how to add a filter for a raw queue in CUPS - if this is possible. Basically, what I need to do, is convert a TIFF to PS before sending it to the raw queue. The ...
1
vote
0answers
21 views

Centralising CUPS config

I have a LAN with a few Ubuntu machines on. They each need to be set up with the same printers. I would like to have a script that copies a centrally stored config to each machine so that they're all ...
2
votes
1answer
68 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 ...
3
votes
2answers
449 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 ...
9
votes
2answers
463 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? ...
0
votes
1answer
2k views

How do I get the right `lpr` for cups installed on Ubuntu Server 14.04?

UPDATE It appears the lpr in the lpr package is not the one that works with cups. The questions is, how do I get the cups version of lpr installed? Old Question lpr on ubuntu 10.04 includes an ...
2
votes
1answer
2k 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 ...
1
vote
0answers
38 views

I'm wondering about CUPS security. What can I do?

I run Debian Wheezy on a old Acer Aspire One ZG5 model netbook as a server. I have a printer shared to all my other systems and I'm worried about security. On the server I have IPtables set up to ...
2
votes
0answers
273 views

Canon network printer: Unable to open the initial device, quitting

I have a up-to-date Arch Linux and Canon drivers installed from the AUR (cndrvcups-lb). At work I have a Canon iR-ADV C5235 printer, that I want to get working. I added the printer via the cups ...
3
votes
1answer
324 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 ...
1
vote
0answers
633 views

Internal Server Errors with CUPS

Recently, I get internal server errors with CUPS. > sudo lpinfo -m lpinfo: Internal Server Error Here is my /etc/cups/cupsd.conf. I’m not even sure where to start. I tried commenting out ...
2
votes
0answers
1k 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 ...
4
votes
3answers
5k 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 ...
1
vote
1answer
4k 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): ...
1
vote
2answers
290 views

CUPS libusbx-devel is needed error when trying to build cups-1.7.1 from source

I have been trying to build CUPS 1.7.1 on RHEL 5.6 using $ sudo rpmbuild -ta ./cups-1.7.1-source.tar.bz2 and was getting: error: Failed build dependencies: libusbx-devel is needed by ...
2
votes
0answers
222 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. ...
1
vote
2answers
866 views

Printing on serial printer via cups

I'm trying to set up my serial printer with cups, but I can't see any serial port in cups config page nor via lpinfo -v. I have serial port at /dev/ttyAMA0. I was trying to set proper permissions for ...
0
votes
1answer
363 views

How do I set up a PostScript print queue to share a PCL laser printer and add PS fonts?

I would like to take a $100 PCL-compatible laser printer and hook it to my home network either through Wi-Fi or by connecting it directly to a Linux server by USB. Instead of using the ...
2
votes
1answer
655 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
961 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 ...
3
votes
3answers
3k 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 ...
1
vote
0answers
57 views

what interface does lpsched provide that cups does not?

Work has a Linux stock/erp custom system that uses the Unix System V (Solaris, SCO, HP-UX) lpsched program that someone who used to work here compiled for RHEL/CentOS 5 i686 (I have no idea why or ...
0
votes
0answers
3k views

Installation of Canon Laserjet LBP 2900B Printer drivers in Linux Mint-16-Cinnamon-64 bit

Respected and experienced folks, A bit of research on the net tells me to "install" Synaptic Package Manager from the Ubuntu Software Center to the above mentioned Linux Mint version! If it helps, ...
2
votes
0answers
1k views

CUPS denies access to printer

I've got a printer hooked up to my workstation (running PCLINUXOS2012) by USB. All was well until the last time I tried to apply updates to the packages - it went rather pear shaped - lots of upgrade ...
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 ...
1
vote
1answer
102 views

foomatic-configure producing weird perl warnings

I am using CentOS 6.4 and trying to use the 'foomatic-configure' for print information and am receiving some weird errors: Perl: v5.10.1 foomatic: foomatic-4.0.4-1.el6_1.1.i686 Command line: ...
1
vote
2answers
1k views

How to setup HP printer in CUPS?

hplip and hplip-cups are installed. The model is LaserJet P4515, but is not listed when I want to setup the printer. How do I setup a HP printer?
1
vote
0answers
70 views

Logging full paths to printed files in CUPS

We are trying to configure the CUPS printing service into the protected enterprise network, and we need to store full paths of printed files (instead of local filenames without directory, as it is ...
3
votes
1answer
166 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 ...