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.

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

Driverless printing with CUPS: client-error-bad-request / "Print job was not accepted."

I’ve just installed Debian Bookworm (12) on my workstation and can’t print via network on my Kyocera M2040dn anymore. It worked on Debian Bullseye (11) but I can’t recall if I needed to install the ...
Daniel Böhmer's user avatar
0 votes
0 answers
186 views

Ubuntu VM with Cups Server and docker container with pycups: cups.IPPError: (1030, 'The printer or class does not exist.')

I have an Ubuntu VM with the cups server installed, configured and running. I can print to every printer from the web interface with no problems. Inside this VM there is a docker container with a ...
PoKeRGT's user avatar
0 votes
0 answers
114 views

How to properly configure hp m1212nf on debian 12?

I have installed hplip and cups on my debian 12, Cups sees my printer, but when I try to print test page CUPS says: stopped "Filter failed" Printer displayed "used supply in use", ...
razrabotchiklinuksa's user avatar
0 votes
0 answers
44 views

How to debug cups-pdf

The documentation for Cups and Cups-PDF explain that one should set loglevel to debug and all will be explained; but sadly, /var/log/cups/error_log only says: D [14/Jul/2023:12:59:27 -0400] [Job 7] ...
ericx's user avatar
  • 187
0 votes
0 answers
109 views

PDF generated by cups-pdf behave strange

I use olbat/cupsd docker image. I created printer with Generic CUPS-PDF Printer (w/ options) driver. PDF files generated by my printers looks good but when I copy text from generated PDF file and ...
Mariusz's user avatar
  • 199
2 votes
1 answer
433 views

Running CUPS on Raspberry Pi - Webpage unaccessable

I am trying to configure my Raspberry Pi to connect to my printer and allow me to print wirelessly using the cups webserver. My Raspberry Pi 3b+ is running headless ubuntu: Distributor ID: Ubuntu ...
Seb's user avatar
  • 41
0 votes
0 answers
64 views

Debian 11 - LibreOffice can print, but okular can't?

I'm running Debian 11 with KDE, and I use LibreOffice 7.3, Okular 20.12.3 and CUPS 2.3.3; I do have printer-driver-cups-pdf installed as well. I can print documents from LibreOffice and from the ...
j4nd3r53n's user avatar
  • 367
10 votes
2 answers
3k views

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 ...
Mikkel Rev's user avatar
0 votes
0 answers
852 views

CUPS server-error-internal-error

I am trying to install a printer in Ubuntu 22.04. Via the "Settings" app, it tries to download drivers then fails with "Failed to add new printer". Via system-config-printer-gnome ...
spraff's user avatar
  • 2,118
0 votes
1 answer
224 views

Printing issue (OFFENDING COMMAND: @PJL) with CUPS to Lexmark MX622ade that is set to PCL language

A Lexmark MX622 printer configured to use PCL as default language does not print using CUPS (that seems to prefer PostScript): I could print a test page (openSUSE Leap 15.4 using YaST2) successfully, ...
U. Windl's user avatar
  • 599
0 votes
0 answers
56 views

Phantom CUPS printer in Linux Mint

Is there a way to create a phantom CUPS printer in Linux Mint, which can print to a file? I have a copy of the CUPS file for a networked Brother printer server, which I would like to emulate for ...
ineuw's user avatar
  • 43
0 votes
1 answer
1k views

CUPS 2.3.3op2 doesn't detect USB printer

I'm experiencing a problem with my printing server based on CUPS. Around a week ago it stopped detecting my USB printer. Tried reintalling the OS, nothing changed. All commands outputs are from OS ...
michasus's user avatar
1 vote
0 answers
27 views

CUPS printers are not selectable in the graphical interface

My Linux (RHEL8) has a strange problem with the printers: I have printers installed on CUPS, but they are not displayed in the programs on the graphical interface! When I try to print from a text ...
moser's user avatar
  • 111
0 votes
1 answer
1k views

Connect USB printer to an ethernet-only router

I have a XIAOMI Mi Router 4A Gigabit router and it is OpenWRT compatible. I was thinking of hooking up my Canon PIXMA E410 printer (which only has USB) to the router and setup a print server (p910nd/...
Luqman's user avatar
  • 1
1 vote
0 answers
643 views

how do I make cups use all cpu cores? [duplicate]

I'm printing with cups from libreoffice, and the pc lasts a very long time preparing the printing, before actually sending it to the printer. I'm seeing that it uses 100% of one core. Is there a way ...
Paolo Benvenuto's user avatar
0 votes
0 answers
531 views

Unable to add Ubuntu CUPS printserver to Windows 10?

I am trying to add a local port on Windows 10 machine for a virtual queue printer that installed on Ubuntu server. When I enter \\ip address for ubuntu server\name of printer, I get the following ...
rok's user avatar
  • 1
1 vote
0 answers
190 views

Sharing a printer on Arch to Windows clients

Following the stereotype that printers never "just work", I need help with sharing my Samsung ML-2160 on Arch. I already followed some guides, installed CUPS and the samsung-unified-driver ...
mima47's user avatar
  • 13
0 votes
1 answer
437 views

When printing from command line how to know what was the default font and font size is being used to print

I am printing from a text file. I would like to know what was the default font and font size is being used. Is there a way to find out? lp template.html -d TVS_MSP-250CH-custom
kumar's user avatar
  • 101
1 vote
2 answers
3k views

SMB-shared printer visible, but can no longer connect to it

I have a Brother HL-L2300D printer, connected by USB to a Raspberry Pi serving as a print server for a LAN segment somewhere. The Pi runs Raspbian, and has a samba server and a CUPS server running - ...
einpoklum's user avatar
  • 9,393
0 votes
2 answers
3k views

linux printing remotely with lp command to cups server not working

I want to print between docker compose containers. There are two containers to the issue: cups: cups daemon php-apache: print with lp cups container: print locally, example $ lp -d developer-epson-...
Marton's user avatar
  • 63
0 votes
1 answer
119 views

OSX doesn't list remote CUPS printer

I'm trying to add a remote printer in my OSX Catalina, but the problem is that remote printer is not in the list The remote printer is operating and properly configured, i used other OSX machine and ...
Beastmaster's user avatar
0 votes
1 answer
133 views

Printing multiple pages results in negative offset

I'm using Ubuntu 18.04.5 and a Samsung CLP-510N network printer with DIN A4 paper. The printer is configured in the printer settings on Linux as page size A4. When I print something consisting of more ...
neuhaus's user avatar
  • 221
1 vote
1 answer
2k views

How to configure an IPP-driverless printer with static IP address in CUPS?

I've recently bought a new network printer and it supports driverless printing over IPP. It works out of the box on Ubuntu 20.04 using CUPS with cups-browsed configured like this: ...
gertvdijk's user avatar
  • 3,536
0 votes
1 answer
187 views

Godex 730 rastertoezpl driver in cups prints wrong orientation

I recently updated from cups 1.4 (Centos 6) to cups 1.6 (Centos 7). I am using Godex label printers and the rastertoezpl printer driver offered by Godex. Anyway since the update one printer (where the ...
Benedikt's user avatar
0 votes
1 answer
207 views

lp commands not displaying meaningful messages

We have CUPS 1.6.3. in 2 RHEL7 environments, A & B. On A, when we issue lpstat command we get list of active jobs. Man page says When run with no arguments, lpstat will list active jobs queued by ...
Kevin McCabe's user avatar
0 votes
0 answers
318 views

How to solve Mac "Holding for Authentication" when printer does not have credentials

I have a printer hosted (CUPS) on my Ubuntu 20.10 machine so that everyone on the network can use it, and it just works on all computers after a quick setup. On a certain mac however, it was working ...
Ramon González Fernández's user avatar
2 votes
0 answers
498 views

How do I install on Windows a printer shared from cups on Linux?

I got an industrial printer that doesn't have drivers for Windows. Someone wrote a driver for Linux and it works great. I want to print from Windows. The Adobe PS Drivers are discontinued and all ...
Magnetic_dud's user avatar
  • 3,614
0 votes
3 answers
1k views

Alternate green/blue bars in PDF printout like old paper on dot-matrix printers

Is there any way to achieve this PDF output on Linux? By this I mean the alternate blue/green bars, which used to be pre-printed on paper for dot-matrix printers. The guides/holes in the sides would ...
Krackout's user avatar
  • 103
1 vote
0 answers
237 views

Canon iR2018 armbian drivers on CUPS

I have Canon iR2018 printer and I am trying to set it as network printer using CUPS (it already has some network capabilities, but it does not work for macs and other devices). I plugged the printer ...
Kudlas's user avatar
  • 61
0 votes
0 answers
311 views

Is there a way to restrict printer access to certain users (Windows/Linux/MacOS), over a local network?

I have set up a print server, connected to a single printer, using cups and samba on a Raspberry Pi 4, running Raspbian Buster, on my university’s local network. Currently, anyone on the network can ...
P_0's user avatar
  • 361
2 votes
1 answer
1k views

How to enable printer discovery using DNS-SD?

On Centos 8, I run lpinfo --include-schemes dnssd -v to discover printers, as suggested by CUPS documentation. Suspiciously, the command returns immediately without discovering anything. tcpdump ...
berndbausch's user avatar
1 vote
1 answer
1k views

CUPS not starting on start up on Mac OSX 10.15.3

My Mac has suddenly stopped starting the CUPS service on startup. I can start CUPS by running sudo /usr/sbin/cupsd but when I restart my computer it requires me to run this command again. Is there ...
Cameron's user avatar
  • 212
0 votes
0 answers
497 views

How do I tell CUPS to not leave white space in the margins?

I have a Brother QL-560 (rumored to behave like a 570), using the "ptouch" back-end driver, version 1.4.2, with CUPS 2.2.1. My problem is that I need to print+cut labels which are exactly N mm high (...
Matthias Urlichs's user avatar
1 vote
0 answers
130 views

Adjusting printer vertical scaling in PPD file?

I've got two printers on my Linux system with CUPS 2.2.7: HP Office Jet 8725 Brother HL-2350 DW My problem is: I want to print business cards (eg. 85x54 mm), but the paper is too thick for the ...
Rainer König's user avatar
1 vote
0 answers
270 views

CUPS printing with IPP/DNSSD server: Filter failed

I've setup an IPP+DNSSD printing server with ArchLinux+hplip+cups+avahi in my LAN. The architecture graph is here: I'm trying to make my Linux Desktop using this printing server. I installed and ...
recolic's user avatar
  • 559
0 votes
1 answer
335 views

Ricoh SP 4510SF freezes with SC899 or SC900 error code at random

The Ricoh printer SP 4510SF crashes at random with error code SC899 or SC900 which means application error. Then it is needed to reboot the printer. We have several of those printers and only one at ...
Vinicius Tinti's user avatar
0 votes
1 answer
993 views

CUPS on Raspberry Pi - Unable to authenticate

cups 2.2.1 on Raspberry Pi 3b+ Linux 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux When I attempt to authenticate to perform administrative functions through the web interface, ...
BalooRM's user avatar
  • 101
4 votes
1 answer
2k views

How does one Install a Brother HL-2270DW Laser Printer on Arch Linux ARM and Raspberry Pi 4B?

How to Install a Brother HL-2270DW Laser Printer on Arch Linux ARM and Raspberry Pi 4B? I can rarely find a solution to Arch Linux ARM 4.19 integration and implementation issues. This is a self-...
Frank Gould's user avatar
0 votes
1 answer
719 views

Calculate font size based on lines per page and size of the page

I have a requirement where I need to print something on a custom media , say 3x5 inches in Ubuntu. I am using the "enscript" tool to print the information. The number of lines that need to be print ...
arun nath's user avatar
  • 101
0 votes
2 answers
6k views

CUPS shared printer with Authentication and SSL connect issue on Windows machines

I have an issue with connecting printer in Windows 10 or 7. Everything works great in my Debian, either basic auth type or HTTPS. I have created user cups_print and assign him password with passwd ...
korky's user avatar
  • 1
0 votes
1 answer
618 views

macOS: Trying to add a Zebra printer via lpadmin

To automate things I usually install printers by way of lpadmin with a short one-liner similar to sudo /usr/sbin/lpadmin -o printer-is-shared=false -o KMSection=true -p bizhub_C224e -E -v lpd://10.8....
syntaxcollector's user avatar
0 votes
1 answer
355 views

cups doesn't print any more

I have 4 ubuntu bionic pc's on my intranet, with a multifunction sharp printer, an MX-2310U, which always printed perfectly, until a few days ago. Since some day ago I cannot print any more from any ...
Paolo Benvenuto's user avatar
0 votes
1 answer
952 views

How to rename http network printer name on Windows 10?

I have USB printer shared using CUPS on Linux machine. I have installed this printer on my Windows 10 win10_printer_installation Now when I want to print anything there is ugly long printer name which ...
maniootek's user avatar
  • 101
0 votes
1 answer
2k views

How to hold & release print jobs using cups?

I have installed CUPS 1.6.3 on centos 7. I am trying to find a solution to hold printing jobs from 6pm Friday to 6am Monday but I'm not sure how to do it. I found few commands but I'm not sure how to ...
Damodar Bashyal's user avatar
0 votes
1 answer
147 views

My printer has jobs waiting but does not print

I would like to print files using a terminal. To do so I use the following command : lp myfile.txt -d MyPrinter The printer does not print anything but when I enter lpstat -o I have the following ...
M.Brbr's user avatar
  • 149
2 votes
1 answer
2k views

How to print using `lp` when I know the printer's IP but not name?

Our printers have static IPs associated with them. How can I use CUPS and lp command to print a file given that I want to specify printer by his local IP, rather than the name? For instance: lp -d ...
emihir0's user avatar
  • 123
2 votes
1 answer
869 views

How to configure CUPS put jobs in queue with status HELD(4)?

I can't find this property in /etc/cups/cupsd.conf or /etc/cups/printers.conf.
magrif's user avatar
  • 145
2 votes
0 answers
1k views

How to install a valid certificate for CUPS HTTPS admin server

I am running ClearOS release 7.5.0 (Final). I have installed the cups print server. It provides a web interface to control it at https://192.168.1.1:631/. But when I put this address into Chrome, it ...
Nikki Locke's user avatar
1 vote
0 answers
588 views

Setting up CUPS server on port 80

Would it be advisable to use port 80 instead of the default CUPS port 631 or the alternative port 49631 as adviced by Debian SystemPrinting. I could bind it to another virtual interface with a ...
kleo's user avatar
  • 179
1 vote
0 answers
269 views

How to change screening (halftone pattern) of my printer Cups driver?

I am using CUPS with the printer driver which use "application/vnd.cups-raster 10 rastertopj" and i am trying to get the look of dither 4x4 print/output but i am clueless where to change the setting ...
Sam's user avatar
  • 11

1
2 3 4 5