Questions tagged [cups]

CUPS stands for Common Unix Printing System. It has been in use by major Linux distributions for user-friendly printing services for about a decade and was purchased by Apple Inc in 2007 when it was purchased from Michael Sweet. CUPS was notable in providing a web-based administrative interface to the Linux printing system and was considered a vast improvement over the old lpadmin CLI tools of the time.

57 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
1 answer
9k views

cups: HTTP_STATE_WAITING Closing for error 32 (Broken pipe)

On a Debian stable I've a network printer connected and shared (Epson hp1536dnf): socket://ip:9100 from Linux clients I've: ipp://IP/printers/printer1 The logs of the server are: D [01/Sep/2017:18:...
Pol Hallen's user avatar
  • 1,113
3 votes
0 answers
923 views

Why is my CUPS scheduler repeatedly being restarted?

In my /var/log/syslog, I see (filtered irrelevant parts out): Dec 30 15:00:10 myhost systemd[1]: Started CUPS Scheduler. Dec 30 15:13:11 myhost systemd[1]: Started CUPS Scheduler. Dec 30 15:26:11 ...
einpoklum's user avatar
  • 1,722
3 votes
0 answers
766 views

CUPS remote print queues

In my network, there are multiple printers over many locations, all connected to a single CUPS server via whatever protocols they require. Client machines on the network need to print to the printers ...
Robin McCorkell's user avatar
2 votes
1 answer
2k views

Force CUPS print server to fit-to-page if job is not A4

I've setup a CUPS print server on Debian Stretch and I need a way to modify print jobs that don't use A4 page size. I have clients (iOS) that cannot set the paper size and will send for example a PDF ...
user355031's user avatar
2 votes
0 answers
135 views

backend PDF printer is always showing ideal status

I am trying to implement a backend to create a PDF printer using cups in freebsd. So far i am successful in creating a printer using a backend but the printer status is always idle and and not ...
Riley Willow's user avatar
2 votes
0 answers
1k views

CUPS keeps silently UNsharing my printers - why?

I'm in a world of hurt at the moment with regard to printing, but I've discovered one ultra-specific problem that seems to be the root of all my other problems. CUPS is silently unsharing my printers....
Michel's user avatar
  • 21
2 votes
0 answers
2k views

Print directly to CUPS server from non-local clients (Ubuntu 14.04)

I set up a CUPS server with a few queues and printing from local clients (the CUPS test page and Samba) seems to work just fine. It seems like the CUPS server is denying non-local clients though: ...
OEP's user avatar
  • 183
2 votes
0 answers
498 views

Vagrant and cups port forwarding not working. Not accessible

I'm working with vagrant and I'm trying to use it as a printing server. I installed cups. Internally everything works just fine. I can even make a quick curl to my localhost:631 (cups port inside my ...
AAlvz's user avatar
  • 365
1 vote
0 answers
133 views

is it possible to append the filename to the job-id of all jobs submitted to a CUPS printer?

as the title suggests, I want to append the filenames of files I print to the actual job-ID in CUPS. so if for instance i ran: lp some-file.pdf the job-ID would be: d00001-001somefile.pdf The reason I ...
flippson's user avatar
1 vote
0 answers
320 views

CUPS lp freezes when a printer is offline

I'm running CUPS 2.2.10 (Raspberry Pi). I have two Zebra label printers connected to USB ports. Each is configured in CUPS. They print fine with no issues unless one printer is turned off. Then if ...
Ryan Griggs's user avatar
  • 1,013
1 vote
0 answers
46 views

Printing oversized PDF to HP printer

I am using an HP E60055 laserjet printer and using Red Hat Linux Cups version 1.6 to print to it. Previously using a Samsung SCX-483x - with which I had no problems with the default settings. When I ...
Paul Pritchard's user avatar
1 vote
0 answers
828 views

zombie file under linux

When trying to unininstall cups from a linux machine some kind of "schrödingers file" was left behind: ls shows it, but otherwise its not there. System is ubuntu 17.10 / kernel 4.13, filesystem is ...
kiney's user avatar
  • 11
1 vote
0 answers
2k views

How to configure CUPS to share printers via IPP - and what network interfaces it listens on?

I have Ubuntu Server with CUPS, and a printer added to that server via IPP. I'd like to re-share this printer to other clients via ZeroTier. In CUPS admin, I've enabled " Share printers connected to ...
victorhooi's user avatar
1 vote
1 answer
135 views

cups fails to print files with very long paths

I got Debian 8 with CUPS 1.7.5 and HP LaserJet P2055D. Printing is OK, except that I can't print files, located on my network server with long nested paths. I.e. I can print file, located in \server\...
Keroronsk's user avatar
1 vote
0 answers
1k views

lpr command: no prints and no error

PROBLEM: no prints and no output (and no errors) for 'lpr -P printername file.txt' DETAILS: I have the same CUPS installation in two different servers. In one of this server lpr command works and ...
Sam's user avatar
  • 151
1 vote
0 answers
646 views

Ubuntu Print Server in Windows Environment

For my project at work, I decided to create a Ubuntu Linux 16.04 print server but it's in a Windows environment. I installed CUPS via apt and Samba via apt also. The few printers I have setup work ...
wymillerlinux's user avatar
1 vote
0 answers
282 views

Printer stops working after reboot

Problem with Samsung printer driver installation. In a nutshell: one thin client (O.S Suse Linux) one usb printer (Samsung ml 1640) After installing the specific manufacturer driver, the printer ...
nansen's user avatar
  • 11
1 vote
0 answers
278 views

Samba AD DC not showing Printers

I have setup my Ubuntu Server as an AD DC using Version 4.1.6-Ubuntu. When I try to access the printers share from a Windows Client I am getting an "Illegal Function" error. I tried it from Windows 10 ...
DFR-HFR's user avatar
  • 11
1 vote
0 answers
741 views

CUPS ignoring lp -o options when printing to Ricoh 4000 with Fiery E-5100

I'm having difficulties controlling which paper type, size and tray when printing from the command line using either lp or lpr. The commands appear to just ignore the -o options altogether and print ...
serverSentinel's user avatar
1 vote
0 answers
926 views

CUPS-PDF Output Filename Fix

I'm using Virtual PDF Printer with cups-pdf package in debian 7.7 wheezy. I have some problem with output PDF filename. It's work correctly when I Print .rtf document with wordpad. But, when I Print ....
Jun-gi Hong's user avatar
1 vote
0 answers
63 views

Configuring cups to accept multiple jobs from Mac end users

I have a CUPS server up and running with a print release station working fine. I'm not just trying to fine tune it. Right now my mac end users have their print jobs stack up in their local queue, and ...
Nick B's user avatar
  • 11
1 vote
0 answers
103 views

windows overwrites cups drivers

I'm currently trying to enforce grayscale printing at the company I work at. I have added the printer (sharp mx2600n) to the cups server using the ppd file. on the web interface i set the color mode ...
MaartenS's user avatar
1 vote
0 answers
2k views

How do I load Windows printer drivers on a Samba 4 print server?

Premise / status: I've set up Samba 4 as an AD controller, and, according to the instructions on the howto, have established a [print$] share that should allow me to "upload printer drivers for Point'...
Pablo Virgo's user avatar
1 vote
0 answers
2k views

CUPS Negotiate authentication woes

I have been struggling to Kerberize certain services within our domain, one of which is CUPS. The setup is as follows: a central print server connects to each individual printer around the domain and ...
Robin McCorkell's user avatar
1 vote
0 answers
152 views

SAMBA CUPS Samsung ML-191x two printers exact model both wont distinguish which is connected on which port

I have installed a version of Cent0S 6.02 with SAMBA and CUPS 1.4.8 installed, I have two Samsung ML-191x that I need to install in the server so anyone can access the, both printer, if installed ...
Samuel Lopez's user avatar
1 vote
1 answer
758 views

python-cups for CentOS5

I'm try to activate airprint support on CentOS5. I found this guide, but the airprint-generate python script needs cups support. It seems this script needs the python-cups lib. How can I install this ...
InuYaksa's user avatar
  • 111
1 vote
0 answers
298 views

How to set up email printer driver under IPP?

We're enhancing our software to be able to print to an IPP-based printer (I'm running CUPS on a RedHat-based Linux distro). The QA person is remote, though, and because of firewalls and proxy servers ...
Joe Casadonte's user avatar
0 votes
0 answers
45 views

How to programaticly change a CUPS print job username

Due to a messy user namespace situation at our site, we have a need to change the username associated with a submitted print job (job-originating-user-name) programmatically. For example, if user “bob”...
John Perkins's user avatar
0 votes
0 answers
56 views

ZKP5803 POS58 printer failing ti print with "Filter failed" message in Ubuntu

I am trying to install a POS58 thermal printer ZKTeco ZKP5803 in a raspberry pi 4 running Ubuntu 22.04. I updated it into CUPS as a POS58 but when I send the print I get "Filter failed" ...
daniel castellanos's user avatar
0 votes
0 answers
111 views

CUPS print server in Openshift

i'm trying to build cups print server in Openshift. the server works fine . I can see the printers and view printer details too. However, i cannot get the admin features to work. Every time when it ...
user216069's user avatar
0 votes
0 answers
80 views

MacOS don't use driverless IPP

we use Debian 12 + cups + avahi and add a printer to it (via IPP and use a driverless-driver for the HP Pagewide 477). We can print without install additional drivers in Debian+KDE, and in Windows 10 ...
colttt's user avatar
  • 121
0 votes
0 answers
92 views

How to specify ppd when adding CUPS printer

On client's Oracle 7 server, I have added printers to cups using the cli. I use this command line for adding: lpadmin -p Warehouse3Printer -v smb://printer:[email protected]/HPLaser -P ./Downloads/...
Hussain Akbar's user avatar
0 votes
0 answers
115 views

remove network discovered printers in cups web page

I am trying to remove network discovered from cups webpages. I am working on a cloud print service and run a raspbian bulleyes. I will have to deploy my system to customers and I want to remove every ...
Drumspirit's user avatar
0 votes
0 answers
868 views

How do I edit a PPD file for CUPS?

I have a networked printer (Canon iP8720) and it mostly works just fine out of the box with CUPS on Kubuntu 22.10. However the printer is capable of borderless printing, higher resolution than the ...
Dan Bowkley's user avatar
0 votes
1 answer
129 views

The printer edits are cut off at the top and bottom after upgrade cups to 2.2.6 with Postscript source

The background, we're upgrading a technical platform for our ERP that sends postscript editions in A4. Our old cups --> Redhat 6.1 / Cups 1.4.2 / Foomatic 4.0.4 New platform --> OL 8.7 / Cups 2....
Tounet's user avatar
  • 1
0 votes
1 answer
621 views

Printer online and enabled - receives job but doesn't print

I have setup a printer with the command lpadmin -p printername -o printer-error-policy=retry-current-job -E -v lpd://printername/RAW?timeout=10. The printer is detected and enabled. However, when I do ...
supmethods's user avatar
0 votes
0 answers
196 views

CUPS: How to set staples for a printer?

I don't find the option into the CUPS web for the options of the printer. Is it possible from the command line? Thanks in advance!!
Costales's user avatar
  • 113
0 votes
0 answers
175 views

Cups entity too large on docker

I need to use cups and cups-pdf in a docker container. I use Debian as base image and I install cups and printer-driver-cups-pdf. When I try to install the "pdf printer" I have the error ...
Sancho's user avatar
  • 111
0 votes
0 answers
776 views

Detect printer in VPN client

The problem is based on a simple restriction: The server which holds the business logic is not connected with the printer in the same network. The printer is located in another network which does not ...
manuelnucci's user avatar
0 votes
1 answer
1k views

How does one wire CUPS to accept print jobs via TCP/IP at 9100 and pass through to pdf-cups?

OS FreeBSD-12.1 CUPS-2.3.3 My goal is to get CUPS to listen for TCP/IP connections on 9100, or any arbitrary ip address and tcp port for that matter, passing the incoming RAW spool file to the cups-...
James B. Byrne's user avatar
0 votes
1 answer
393 views

raspi cups prints pdf input as garbage on paper

I'm trying to print a pdf onto paper programmatically, using lp from a raspberry pi as part of an application for work. The PDF comes out of the printer looking like completely random unicode ...
James M. Lay's user avatar
0 votes
0 answers
469 views

How to print across subnets with CUPS?

I am running Ubuntu Server 18.04. I am printing from a Non-AirPrint Printer to iPads, which is why im using cups. I can find the printer if I'm on the same vlan as the server. I need to be able to ...
Elijah Stark's user avatar
0 votes
0 answers
186 views

Forcing mono print on a colour printer with CUPS?

I have been instructed to create 2 print queues on one MFD, one colour and one mono. I have installed CUPS on Ubuntu 18.04LTS and can print from a Win 10 machine (client) using http://printserver/...
Professor Frink's user avatar
0 votes
1 answer
424 views

Can't access cups from ssh tunnel -Bad Request-

I have CUPS installed on different servers and I can connect to those using an SSH tunnel without any issue, but this server returns "Bad request" always. All my servers have Ubuntu 16.04 Server, ...
leonardorame's user avatar
0 votes
0 answers
327 views

CUPS printers managing script

We are using raspberry pi (Raspbian 8) computers as a print servers. To one raspberry can be connected up to four USB printers (zebra thermal printers). Printers can be unplugged/switched off/...
Neo W.'s user avatar
  • 1
0 votes
0 answers
356 views

cups' imagetopdf crashing Gnome Ubuntu 16.04 for Brother QL-700

I have installed printer drivers for a label printer according to directions here: http://www.linux-hardware-guide.com/2014-10-22-brother-ql-700-label-printer-usb One thing I noticed is that the ...
BillRobertson42's user avatar
0 votes
2 answers
263 views

How to connect your network printer via another computer?

My need is a little strange, maybe. I have a proxy server A with IP 210.11.11.1 and a network printer B with IP 210.11.11.2 in the same room. I have a computer C with IP 202.33.33.1 in another room。C ...
Xiaohong's user avatar
0 votes
1 answer
72 views

CUPS-pdf: Documents are uploaded but not stored

I have set a virtual printer. It worked well when there were no policies. All the documents were stored in: /var/spool/myprinter/ANONYMOUS Now I obviously want to add some users so not everyone can ...
prgrm's user avatar
  • 151
0 votes
0 answers
43 views

Printing HTTPS Webpages in CLI

I have a CentOS 6.6 server, and I am trying to print https://* webpages using the following commands: html2ps https://mywebsite/blah.html | lpr My printer prints out a paper for all HTTPS print jobs,...
madhatter's user avatar
0 votes
0 answers
469 views

printing more than one page per sheet with raw postscript/IPP/CUPS

we have a raw postscript printer (HP LJP M425dn) that CUPS (1.5.3-5+deb7u1) addresses by IPP with driver "Local Raw Printer (grayscale)". CUPS's own "print test page" produces a sheet with monospaced ...
Aaron Brick's user avatar