Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Get list of CUPS printers with drivers

For a client's machine that run Oracle Linux 8, I had configured a few dozen printers in CUPS over the past two years. Most of them are installed in remote offices. I would search and download the ...
Hussain Akbar's user avatar
0 votes
0 answers
103 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
1 vote
1 answer
133 views

MAC Printing - Pausing

I have a script that maps our printers, it uses PPD files. When I map the printers using the script it will pause in the middle of the printing process, like it will say printing then PAUSE this is ...
Marti's user avatar
  • 21
0 votes
0 answers
74 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
171 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
103 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
140 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
2 votes
1 answer
582 views

What is the current state of the art way to share printers from Linux with Windows clients

TLDR: What driver should I use in Windows (10/11) to connect to CUPS? Alternatively: What is a better way to print from Windows clients to a Linux server? Hi, I'm currently having an Ubuntu 18.04 ...
Jakob Lenfers's user avatar
0 votes
0 answers
1k 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
173 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
711 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
220 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
183 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
821 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
203 views

CUPS-PDF fails with [STATUS] PDF creation failed

Hello I'm trying to set up CUPS-PDF on a new server (Centos 7) but don't get it working. I see the jobs reported. Also directories are being created according to conf file. But there are no pdf ...
Alexander P'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
3 votes
1 answer
1k views

CUPS - output a copy of all print jobs as PDF

Is it possible to configure CUPS so that each print job is also saved as a PDF? I've installed and configured cups-pdf, which works fine if I print directly to it from a client. But what I want to ...
AL3's user avatar
  • 33
0 votes
1 answer
2k views

CUPS - Network printer - Connection error: Permission denied, The printer is not responding

I'm trying to troubleshoot a printing issue, but first I need to describe my environment (it's a bit non-standard). I have a HP 1102 USB printer, connected to a Ubuntu 20.04 system which runs CUPS and ...
Mad_Ady's user avatar
  • 485
1 vote
0 answers
143 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
0 votes
2 answers
3k views

CUPS Processing - "Waiting for printer to become available."

I'm attempting to get Brother HL-L2301-D printer running under Gentoo. I've downloaded the RPM and installed it under Gentoo. The device is detected and I've set up a udev rule to make it available ...
slackline's user avatar
  • 143
0 votes
1 answer
2k views

CUPS client not working with docker container name

CUPS client cannot print when providing the CUPS server as container name, while it works fine with the container IP: Sample docker-compose.yml: version: '3.7' services: client: ...
rks101's user avatar
  • 1
6 votes
2 answers
21k views

CUPS - how to list all detected printers from command line (Linux)

In the CUPS web interface, when adding a printer, the interface displays all detected printers, both local and networked, and the user can pick which one they want to add to CUPS. How can I get this ...
Ryan Griggs's user avatar
  • 1,033
1 vote
0 answers
328 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,033
0 votes
1 answer
396 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
488 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
192 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
1 vote
1 answer
370 views

Limit CUPS printer discovery from multiple interfaces

ServerFault! Coming here right from StackOverflow :) Here is the problem: I have a Xubuntu PC that has two physical network interfaces. One of them is for purposes of my working room, another is to ...
Leontyev Georgiy's user avatar
1 vote
0 answers
47 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 votes
4 answers
7k views

CUPS filter failed error

I installed CUPS and added my printer but if I print anything I see always "filter failed" error. Could you please check what is wrong? E [04/Jan/2019:19:50:40 +0000] [Job 13] Unable to open raster ...
tuker's user avatar
  • 23
2 votes
1 answer
1k views

Sharing printer from CUPS to CUPS, getting state stopped 'Filter failed'

I'm trying to share a Epson TM-T20II connected to my computer (the server) via USB. It's working correctly at my computer using the drivers "EPSON TM BA Thermal". Now in the other computer (the ...
iRonth's user avatar
  • 21
0 votes
1 answer
458 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
1 answer
548 views

Strange authentication requirement in CUPS web interface

I'm accessing a print server's CUPS web interface - using an SSH tunnel so that access is on the local host. CUPS is configured fine (I think) and I can print. However, when I try to do something ...
einpoklum's user avatar
  • 1,744
1 vote
0 answers
842 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
1 answer
3k views

Text not properly centered on label (CUPS + Zebra Gk420)

I have added a custom format to /etc/cups/ppd/GK420.ppd in order to match my 70x50mm labels. *OpenUI *PageSize/Media Size: PickOne *OrderDependency: 10 AnySetup *PageSize *DefaultPageSize: w198h141 *...
ballatom's user avatar
  • 123
5 votes
1 answer
8k views

Where does Cups keep print job information?

We are trying to assemble a free software stack to get detailed print job accounting information, something similar to what Papercut Printlogger does, for raw printing queues. We have been testing ...
Leandro's user avatar
  • 206
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
2 votes
1 answer
3k 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
1 vote
1 answer
2k views

macOS will not print to an LPR printer on different subnet

We have a fairly extensive campus network consisting of multiple subnets connected by a core router. Everything has been working fine for years, but recently I have a number of macosx clients that ...
Kevin H. Patterson's user avatar
3 votes
3 answers
14k views

HTTPS/SSL not working with Cups

I have a site mysite.com and a printer mysite.com:631/printers/myprinter Well, https:// www.mysite.com works perfectly and is validated, but https:// www.mysite.com:631/printers/myprinter won't. ...
prgrm's user avatar
  • 141
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,123
0 votes
2 answers
3k views

CUPS clogging printer and stalling jobs?

We have 2 network attached HP LaserJet 400 M401dne, and we need them to print invoice PDFs directly from server command line. I have added the printers to CUPS and created a printing class(invoices) ...
Gnudiff's user avatar
  • 533
0 votes
0 answers
350 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
1 vote
1 answer
139 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
16 votes
4 answers
77k views

How can I enable remote access to the Admin page in CUPS

I'm looking to get access to the admin page of the CUPS web interface. I can reach the page, and I can browse the majority of the site, but sadly the Admin page is still locked from remote sources. ...
David Gatti's user avatar
0 votes
2 answers
274 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
3 votes
0 answers
951 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,744
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
0 votes
1 answer
74 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
  • 141
1 vote
0 answers
656 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