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
0answers
17 views

Iptables configuration for IPP printing to public printer

Is the following configuration correct to allow IPP printing to a remote public printer (to any IP address)? iptables -A IN -i eth1 -p tcp -m tcp --sport 631 -m state --state ESTABLISHED -j ACCEPT ...
0
votes
0answers
27 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 ...
0
votes
0answers
35 views

How do I modify "job-cancel-after" of a CUPS printer?

If I send a pdf as raw to a printer through lp, the job is sometimes (if the printer was in standby) not printed and its status is "deleted" in the CUPs WebGUI. If I check the content of the ...
0
votes
0answers
24 views

cups printserver shared in windows domain

I try to summarize as short as possible. I got a Cups behind a nginx behind a traefik. Reason being that traefik has to be the entrypoint in the environment but cups only accepting requests with the ...
0
votes
0answers
70 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 ...
0
votes
1answer
44 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 ...
0
votes
0answers
149 views

CUPS delete printer with space in name

I have a printer in CUPS with a space in the name: "ZZZ: Test" How can I delete this printer? If I try to to delete it in the webinterface it says the following: The printer name may only ...
0
votes
1answer
99 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-...
0
votes
0answers
17 views

How to force cupsd printer server to use FQDN with Opportunistic TLS prompt?

Currently, when CUPSD asks to upgrade the connection to TLS, I get the prompt: Upgrade Required You must access this page using the URL https://192.168.0.7 How can I force this prompt to use the ...
0
votes
0answers
52 views

Brother L2740DW printer hangs on Arch Linux

Using Arch Linux, updated today, I'm trying to print to a USB-connected Brother MFC-L2740DW. When I try to print something the printer lights up, shows "Receiving Data" for about 10 seconds, ...
0
votes
1answer
55 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 ...
0
votes
0answers
137 views

SAMBA SMBD process consuming all ram

I'm using Samba as Active Directory with cups as printing server in Debian from a time ago without problems But from about 2 weeks to now, some of the "smbd" process are eating all the RAM (...
0
votes
0answers
22 views

CUPS printer not printing multiple copies from Windows

I'm currently having a problem printing multiple copies of a document to my printer. The printer is a Brother HL-L5100DN. I'm trying to print via a CUPS server installed on a Raspberry Pi, using the ...
0
votes
1answer
460 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 ...
1
vote
0answers
11 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 ...
0
votes
1answer
598 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 ...
0
votes
1answer
684 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: ...
0
votes
1answer
253 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 ...
1
vote
0answers
129 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 ...
0
votes
1answer
245 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 ...
0
votes
0answers
257 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 ...
0
votes
0answers
68 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/...
1
vote
1answer
98 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 ...
1
vote
0answers
43 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 ...
-2
votes
2answers
2k 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 ...
2
votes
1answer
610 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 ...
0
votes
1answer
224 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, ...
0
votes
1answer
317 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 ...
0
votes
0answers
604 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 ...
1
vote
1answer
1k 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 *...
2
votes
1answer
4k 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 ...
0
votes
0answers
949 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 ...
0
votes
1answer
1k 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 ...
1
vote
1answer
1k 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 ...
4
votes
2answers
7k 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. ...
8
votes
0answers
6k 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 server are: D [01/Sep/2017:18:21:...
0
votes
2answers
2k 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) ...
0
votes
0answers
181 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/...
0
votes
0answers
332 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 ...
1
vote
1answer
110 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\...
7
votes
4answers
39k 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. ...
0
votes
2answers
145 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 ...
3
votes
0answers
806 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 ...
1
vote
0answers
744 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 ...
0
votes
1answer
51 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 ...
1
vote
0answers
530 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 ...
2
votes
0answers
102 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 ...
3
votes
3answers
1k views

Send dummy data to printer to wake it up

I have a Dell B1260dn Mono Laser Printer connected to cups. It is used for receipts. Especially the first page in the morning takes almost a minute to print, because the printer have to warm up, it ...
1
vote
0answers
168 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 ...
1
vote
0answers
429 views

Broadcasting a printer from Cups / Samba

I am currently attempting to broadcast my postscript printer from my debian machine to other (Windows) based machines on the network. I came across this article and this article which explained the ...