Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
3654 views
How to reset the printing system (CUPS)?
I would like to know how to cleanly reset the printing system (CUPS) to its initial state. Alternatively, it may suffice for me to know how to take a "snapshot" of CUPS configuration and to roll back to it later. This is to debug the following issue, which I could reproduce on several occasions on L...
I would like to know how to cleanly reset the printing system (CUPS) to its initial state. Alternatively, it may suffice for me to know how to take a "snapshot" of CUPS configuration and to roll back to it later. This is to debug the following issue, which I could reproduce on several occasions on Linux Mint 21 and on Ubuntu 22.04. After booting a freshly installed Linux Mint 21 or Ubuntu 22.04 and connecting the machine to my office LAN for the first time, network TOSHIBA e-STUDIO3015AC printers are automatically added to the list of printers as "driverless" and function properly. However, after restarting the machine and after the printers get first removed, then added back to the list, the selection of 2-sided printing in the printing dialog is getting ignored. (The printing becomes one-sided unless changed in the printer options, but if printer option is set to two-sided, then one-sided printing does not work.) I noticed that the second time the automatically generated /etc/cups/printers.conf file contains many extra lines compared to the first time the printers were used, including this one:
Option sides one-sided
*This is basically a duplicate of my question on AskUbuntu.*
Alexey (2310 rep)
Sep 10, 2022, 08:00 AM • Last activity: Aug 1, 2025, 12:03 PM
2 votes
1 answers
3811 views
CUPS stops printing right after a while
I've converted an automatic printing system from Windows with Acrobat Reader to Ubuntu with CUPS. This took about 10 minutes using CUPS, but now I'm getting a strange issue with incomplete prints rolling out, or nothing being printed whatsoever after a while. CUPS reports seemingly arbitrary errors....
I've converted an automatic printing system from Windows with Acrobat Reader to Ubuntu with CUPS. This took about 10 minutes using CUPS, but now I'm getting a strange issue with incomplete prints rolling out, or nothing being printed whatsoever after a while. CUPS reports seemingly arbitrary errors. Sometimes it doesn't even report an error, and most of the errors reported are "broken pipe" errors. Usually after adding a printer to CUPS it will print fine for a while. When I come back a few hours later and try the exact same thing (even with the same file), the file might not print at all or come out of the printer with elements missing. This might be an unrelated bug, but also after a while CUPS' web interface stops responding. All I can access after this happens is the HTTP version of the main page. A restart of CUPS fixes this. I'm running a fresh installation of CUPS, with only remote administration enabled. The issue persists even after doing a sudo service cups restart. I've added the printers in many different ways (socket, ldp, ipp), with both generic PCL6 drivers and the printers' official KPDL drivers. Directly after adding a printer the prints will usually come out as expected. I'm printing using the most basic command possible: lp -d [printer-name] [numbers].pdf. I'm running Ubuntu Server 16.04. The printers I've configured are a Kyocera ECOSYS FS-1370DN, and a Kyocera ECOSYS P2135dn. The printers do not seem to be the issue though, as a HP printer I've used exhibits the same issue. I've been trying to figure out what is going wrong for longer than I care to admit. And I'm starting to feel pretty stupid. Every time I think I've fixed it bad prints start rolling out soon after. Acrobat Reader/the Windows print spooler never has trouble printing, even while CUPS spits out garbage. Other things I've tried without success: - Converting to PostScript (.ps) using pdf2ps before printing - Converting to PDF using GhostScript (fixing possible PDF errors) before printing - Printing web-downloaded test PDFs known to have printed well before. This is the weird one that's defying all logic to me: Uploading the PDF files through ftp (the printers are capable of printing PDF) also only works sometimes. This completely circumvents CUPS, so it must be the printers right? But no, printing the same file through Acrobat Reader works fine. As it stands the only option I see is to convert the Ubuntu server to a VM with an expensive Windows Server VM running alongside it, only used for printing... There must be a solution to this issue. EDIT: I've set up CUPS on my Ubuntu Server 16.04 at home and configured a Canon MG8100 on it. The first few prints came out fine. The next morning, every job I added showed it completed, but actually nothing came out of the printer. This means it does not have anything to do with the printers. I added the MG8100 using LPD. CUPS error log states the below errors. Keep in mind that all these errors occur for the exact same file on different times, and that the file was printed successfully in the same manner before. E [26/Nov/2016:13:35:44 +0100] [Job 158] The printer is not responding. When this is logged no print is made and CUPS keeps retrying the job until it is abandoned. Other times it fails like this: W [29/Nov/2016:11:45:01 +0100] [Job 169] /var/spool/cups/d00169-001: file is damaged W [29/Nov/2016:11:45:01 +0100] [Job 169] /var/spool/cups/d00169-001 (file position 35596): xref not found W [29/Nov/2016:11:45:01 +0100] [Job 169] /var/spool/cups/d00169-001: Attempting to reconstruct cross-reference table Which will result in a mangled print (Random parts being printed, and others being left out).
Villermen (51 rep)
Nov 28, 2016, 11:30 AM • Last activity: Jul 28, 2025, 06:03 PM
0 votes
1 answers
3450 views
How to generate ppd file for CUPS
I want to add my printer, HP Laserjet Professional M1136 MFP, to CUPS utility on raspberry pi with raspian OS. I have got the relevant printer driver for debian OS from HP website which is a file with .run extension (hplip-3.20.9.run). But I need to provide a PPD file to the CUPS utility. How to gen...
I want to add my printer, HP Laserjet Professional M1136 MFP, to CUPS utility on raspberry pi with raspian OS. I have got the relevant printer driver for debian OS from HP website which is a file with .run extension (hplip-3.20.9.run). But I need to provide a PPD file to the CUPS utility. How to generate the PPD file for this purpose? Note: moving this question from www.askubuntu.com. There was one answer already provided, which I am pasting below: > try sudo apt-get install hpijs-ppds or sudo apt-get install hp-ppd > > I just use the 127.0.0.1:631 to config my printers and I don't use HP, so I don't know if these will automatically get populated in your tool. > > But I usually end up going through this because my (ubuntu)raspberry pi > cups' driver selection is not filled out with all the drivers I need... > I think also I add foomatic and one other that escapes me (maybe openprinting), until I eventually get what I need... > > I generally have to something like apt-cache search ppd or apt-cache search cups to search what is available.
user439960
Nov 1, 2020, 03:32 PM • Last activity: Jul 27, 2025, 07:09 PM
2 votes
3 answers
11995 views
CUPS printing of pdf files
How can I tell the lpr command (cups) that my file is actually a pdf? `lpr file.pdf` won't print anything.
How can I tell the lpr command (cups) that my file is actually a pdf? lpr file.pdf won't print anything.
vonPetrushev (803 rep)
Dec 24, 2011, 08:44 PM • Last activity: Jul 22, 2025, 09:01 PM
3 votes
2 answers
2101 views
Can't Change CUPS password
I am running CrunchBang based on Debian 6. I can't do anything printer related. It is saying I am unauthenticated. I have tried: family@familydesktop:~$ sudo lppasswd -a family Enter password: Enter password again: family@familydesktop:~$ sudo lppasswd -a root Enter password: Enter password again: Y...
I am running CrunchBang based on Debian 6. I can't do anything printer related. It is saying I am unauthenticated. I have tried: family@familydesktop:~$ sudo lppasswd -a family Enter password: Enter password again: family@familydesktop:~$ sudo lppasswd -a root Enter password: Enter password again: Yet I still can't add a printer. What do I do?
Christopher King (656 rep)
Jul 31, 2013, 03:23 PM • Last activity: Jul 18, 2025, 02:03 AM
-1 votes
1 answers
46 views
Workaround: Cups error adding network printer - 'server-error-internal-error'
Here is a workaround to Cups errors when adding a network printer. Hopefully a real solution will follow one day. Using a GUI tool you try to add a printer. You expand the list of network printers and your printer is shown in the the. You select it and and go forward where you can give it a name you...
Here is a workaround to Cups errors when adding a network printer. Hopefully a real solution will follow one day. Using a GUI tool you try to add a printer. You expand the list of network printers and your printer is shown in the the. You select it and and go forward where you can give it a name you like and a location. Then after OK it says: > CUPS server error > There was an error during the CUPS operation: 'server-error-internal-error'. If the reason is a DNS problem here is what to do. Run the command line ippfind and look at the list: $ ippfind ipp://BRWBCF4D44.local:631/ipp/print Here the printer respond to a broadcast UDP with the message »my DNS name is BRWBCF4D44.local and you can contact me on that« but this is not correct. Try: $ ping BRWBCF4D44.local ping: BRWBCF4D44.local: Name or service not known The problem is that the name BRWBCF4D44.local is not known in the DNS. A quick workaround is to add this entry to your /etc/hosts file: $ echo 192.168.1.7 BRWBCF4D44.local | sudo tee -a /etc/hosts Then both ping and lpadmin will work. Try add the printer manually: $ sudo lpadmin -p My_brother -E -v ipp://BRWBCF4D44.local:631/ipp/print -L Bedroom If this work you can delete the printer again: $ sudo lpadmin -x My_brother Now you can add the printer with the GUI as expected. For some unknown reason the printer thinks the domain is .local and not .lan. The problem must be in the DNS-server some where.
hschou (2976 rep)
Jul 2, 2025, 01:01 PM • Last activity: Jul 13, 2025, 03:42 PM
2 votes
1 answers
2149 views
Debian: LSB package for OpenPrinting driver
I have an [old printer](http://support.lexmark.com/index?page=product&locale=en&productCode=1100_COLOR_JETPRINTER&segment=SUPPORT&userlocale=EN_UK#1) which requires the LSB package in order to install the OpenPrinting driver in Debian: [Preparation of LSB-compliant distributions](https://wiki.linuxf...
I have an [old printer](http://support.lexmark.com/index?page=product&locale=en&productCode=1100_COLOR_JETPRINTER&segment=SUPPORT&userlocale=EN_UK#1) which requires the LSB package in order to install the OpenPrinting driver in Debian: [Preparation of LSB-compliant distributions](https://wiki.linuxfoundation.org/openprinting/database/driverpackages) However, the current version of Debian no longer support LSB: [Debian discontinued LSB support in 2015](https://wiki.debian.org/LSB) Therefore, I'm not able to install the OpenPrinting driver of this printer on Debian Buster. Any idea how to solve that? *** # Follow-up Following some advices, I tried to install the LSB package from Ubuntu. So, I downloaded the LSB package from Ubuntu 19.04 available at https://pkgs.org/ Then I tried to install via the following command: dpkg -i lsb_10.2019031300ubuntu1_all.deb However, some dependencies were missing: dpkg: dependency problems prevent configuration of lsb: lsb depends on lsb-core (>= 10.2019031300ubuntu1); however: Package lsb-core is not installed. lsb depends on lsb-printing (>= 10.2019031300ubuntu1); however: Package lsb-printing is not installed. Then I've downloaded the lsb-core package and tried to install it: dpkg -i lsb-core_10.2019031300ubuntu1_amd64.deb Again, dependencies issues: dpkg: dependency problems prevent configuration of lsb-core: lsb-core depends on libncurses5; however: Package libncurses5 is not installed. lsb-core depends on lsb-invalid-mta (>= 10.2019031300ubuntu1) however: Package lsb-invalid-mta is not installed. lsb-core depends on at; however: Package at is not installed. lsb-core depends on binutils; however: Package binutils is not installed. lsb-core depends on ed; however: Package ed is not installed. lsb-core depends on libc6-dev | libc-dev; however:Package libc6-dev is not installed. Package libc-dev is not installed. lsb-core depends on cups-bsd | lpr; however: Package cups-bsd is not installed. Package lpr is not installed. lsb-core depends on m4; however: Package m4 is not installed. lsb-core depends on mailx | mailutils; however: Package mailx is not installed. Package mailutils is not installed. lsb-core depends on make; however: Package make is not installed. lsb-core depends on patch; however: Package patch is not installed. lsb-core depends on pax; however: Package pax is not installed. lsb-core depends on rsync; however: Package rsync is not installed. lsb-core depends on alien (>= 8.36); however: Package alien is not installed. lsb-core depends on lsb-security (>= 10.2019031300ubuntu1); however: Package lsb-security is not installed. lsb-core depends on time; however: Package time is not installed. It seems that this is not the way to go. Any idea?
Mark Messa (311 rep)
Nov 21, 2019, 11:04 PM • Last activity: Jul 5, 2025, 02:07 PM
0 votes
1 answers
1443 views
CUPS: "server-error-internal-error"
My printer has been working fine for a while but I went to use it yesterday and it wouldn't print from my LM system (LinuxMint 21.3). The printer is still found and works from my Android phone and from a Windows 11 system; they still print without issue. And I can remove it and add it again under Wi...
My printer has been working fine for a while but I went to use it yesterday and it wouldn't print from my LM system (LinuxMint 21.3). The printer is still found and works from my Android phone and from a Windows 11 system; they still print without issue. And I can remove it and add it again under Windows without error. I can ping the printer successfully from LM but cannot add the printer either through the Cinnamon Printers applet or via the CUPS Webpage (http://127.0.0.1:631/) . Not sure what changed. It looks like the issue is empty PPD file (noted in the errors, below) but I'm not clear who this would have changed since this is the same printer that has been working for a long time and just stopped working with no obvious changes. I could really use some guidance on what to look for -- maybe some logs, determine whether the CUPS engine was recently updated, etc. Here's what I did... First, I deleted the existing, non-working printer and attempted to add the printer again. In the past, when it has stopped working, just re-adding it has been successful. Not this time; it fails with the "server-error-internal-error". As I was planning to go forward at some point, anyway, I installed an image of LinuxMint 22 (Wilma) to a new partition and tried to add the printer there. But the exact same results: Printer: Select Device Printer: Error Everything seems to indicate the printer is still found successfully but I'm unable to add it. I've searched around for references to the error and other apparently related issues. This seemed promising Remedy for CUPS Server Error on Linux but neither it nor the other things I've found have helped. **ippfind** reports this: ipp://Canonaaf616.local:631/ipp/print So, I went to the CUPS webpage (Administration, Add Printer/Find New Printers) and it successfully finds the printer: CUPS: Find Printer But having attempted to add the printer using all of the listed "Printers" and "Models", none of them have worked. Using the "IPP Everywhere" model returns: Unable to create PPD: No IPP attributes. Using the "driverless" model returns: cups-driverd failed to get PPD file - see error_log for details. Checking /var/log/cups/error_log, I see several messages like below for various languages: [cups-driverd] Bad driver information file \"/usr/share/ppd/openprinting/Utax/Global/English/... Followed by these: E [24/Sep/2024:12:07:17 -0600] Canon_MF741C_743C_: PPD creation failed: No IPP attributes. E [24/Sep/2024:12:07:17 -0600] [Client 572] Returning IPP server-error-device-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/Canon_MF741C_743C_) from localhost. E [24/Sep/2024:12:08:06 -0600] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://Canon%20MF741C%2F743C%20(aa%3Af6%3A16)%20(aa%3Af6%3A16)%20(aa%3Af6%3A%20%20(2a%3A17%3A0e)%20(7)._ipps._tcp.local/, ipps: //Canonaaf616.local:10443/ipp/print) via IPP! E [24/Sep/2024:12:08:06 -0600] copy_model: empty PPD file E [24/Sep/2024:12:08:06 -0600] [Client 597] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/Canon_MF741C_743C_) from localhost. E [24/Sep/2024:12:08:21 -0600] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://Canon%20MF741C%2F743C%20(aa%3Af6%3A16)%20(aa%3Af6%3A16)%20(aa%3Af6%3A%20%20(2a%3A17%3A0e)%20(7)._ipps._tcp.local/, ipps: //Canonaaf616.local:10443/ipp/print) via IPP! E [24/Sep/2024:12:08:21 -0600] copy_model: empty PPD file E [24/Sep/2024:12:08:21 -0600] [Client 625] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/Canon_MF741C_743C_) from localhost. **avahi-browse -rt _ipp._tcp** returns: + wlp5s0 IPv6 Canon MF741C/743C (aa:f6:16) (aa:f6:16) (aa:f6: (2a:17:0e) (7) Internet Printer local + wlp5s0 IPv4 Canon MF741C/743C (aa:f6:16) (aa:f6:16) (aa:f6: (2a:17:0e) (7) Internet Printer local = wlp5s0 IPv6 Canon MF741C/743C (aa:f6:16) (aa:f6:16) (aa:f6: (2a:17:0e) (7) Internet Printer local hostname = [Canonaaf616.local] address = [192.168.4.31] port = txt = ["mopria-certified=1.3" "print_wfds=T" "rfo=ipp/faxout" "kind=document,envelope,postcard" "URF=ADOBERGB24,CP255,DM1,PQ4,RS300,SRGB24,W8-16,FN3,IS1-4,OB10-40,V1.4" "Fax=T" "Scan=T" "TLS=1.2" "usb_CMD=LIPSLX,CPCA" "UUID=6d4ff0ce-6b11-11d8-8020-349f7baaf616" "PaperMax=legal-A4" "Punch=0" "Staple=F" "Sort=F" "Collate=F" "Bind=F" "PaperCustom=T" "Duplex=T" "Copies=T" "Color=T" "TBCP=F" "Binary=F" "Transparent=F" "usb_MDL=MF741C/743C" "usb_MFG=Canon" "adminurl=http://Canonaaf616.local:80/airprint.html " "pdl=application/octet-stream,image/urf,image/pwg-raster,image/jpeg,application/pdf" "product=(CNMF741C/743C)" "ty=Canon MF741C/743C" "priority=10" "qtotal=1" "note=" "rp=ipp/print" "txtvers=1"] = wlp5s0 IPv4 Canon MF741C/743C (aa:f6:16) (aa:f6:16) (aa:f6: (2a:17:0e) (7) Internet Printer local hostname = [Canonaaf616.local] address = [192.168.4.31] port = txt = ["mopria-certified=1.3" "print_wfds=T" "rfo=ipp/faxout" "kind=document,envelope,postcard" "URF=ADOBERGB24,CP255,DM1,PQ4,RS300,SRGB24,W8-16,FN3,IS1-4,OB10-40,V1.4" "Fax=T" "Scan=T" "TLS=1.2" "usb_CMD=LIPSLX,CPCA" "UUID=6d4ff0ce-6b11-11d8-8020-349f7baaf616" "PaperMax=legal-A4" "Punch=0" "Staple=F" "Sort=F" "Collate=F" "Bind=F" "PaperCustom=T" "Duplex=T" "Copies=T" "Color=T" "TBCP=F" "Binary=F" "Transparent=F" "usb_MDL=MF741C/743C" "usb_MFG=Canon" "adminurl=http://Canonaaf616.local:80/airprint.html " "pdl=application/octet-stream,image/urf,image/pwg-raster,image/jpeg,application/pdf" "product=(CNMF741C/743C)" "ty=Canon MF741C/743C" "priority=10" "qtotal=1" "note=" "rp=ipp/print" "txtvers=1"] **avahi-browse -rt _uscan._tcp** returns: + wlp5s0 IPv4 Canon MF741C/743C (aa:f6:16) (aa:f6:16) (aa:f6: (2a:17:0e) (7) _uscan._tcp local = wlp5s0 IPv4 Canon MF741C/743C (aa:f6:16) (aa:f6:16) (aa:f6: (2a:17:0e) (7) _uscan._tcp local hostname = [Canonaaf616.local] address = [192.168.4.31] port = txt = ["usb_MFG=Canon" "mopria-certified-scan=1.2" "duplex=T" "is=platen,adf" "UUID=6d4ff0ce-6b11-11d8-8020-349f7baaf616" "cs=color,grayscale" "pdl=application/octet-stream,application/pdf,image/jpeg" "representation=Image" "adminurl=http://Canonaaf616.local:80/airprint.html " "rs=eSCL" "vers=2.63" "note=" "ty=Canon MF741C/743C" "txtvers=1"] **UPDATE** This appears to be some kind of change related to networking but nothing has changed on the network. - My "Home" firewall is disabled. - My router still shows the printer as connected. - I can ping the printer IP from any of the computers. - The LinuxMint "Find Network Printer" option finds the computer on the network. - The CUPS webpage can find the printer. - avahi-browse can find the printer. But all attempts fail to either: 1) add the printer on a Linux system, or 2) print to it from a Linux system that still has that printer added from before the issue. I tried creating the queue manually with lpadmin -p TEST -v ipp:///ipp/print -m everywhere -E but it returned lpadmin: Unable to create PPD: No IPP attributes. I found this article CUPS: “Unable to Copy PPD file" which seemed applicable. I checked my /etc/nswitch.conf and the contents are: # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the glibc-doc-reference' and info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: files systemd group: files systemd shadow: files systemd gshadow: files systemd hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis The hosts line looks correct, I think? I had no /etc/msdn.allow file so added one with the contents: .local. .local But no improvement; still cannot print or add the printer. **UPDATE** Apparently this is a bug in CUPS: Can't add Canon ipp printer after cups version 2.4.6
AdvApp (153 rep)
Sep 26, 2024, 08:17 PM • Last activity: Jul 1, 2025, 03:33 AM
1 votes
0 answers
172 views
Brother MFC-L2710DW mysteriously stopped printing
I'm trying to use Brother MFC-L2710DW multifunction printer/scanner with my Devuan ASCII machine (which is just like Debian Stretch but without systemd). At first, this seemed to work: I printed a couple of test pages, I scanned, life was good. (This was over wireless with a fixed IP address for the...
I'm trying to use Brother MFC-L2710DW multifunction printer/scanner with my Devuan ASCII machine (which is just like Debian Stretch but without systemd). At first, this seemed to work: I printed a couple of test pages, I scanned, life was good. (This was over wireless with a fixed IP address for the printer.) Now, a few days later, I'm trying to print again - and nothing gets printed! The notices which come up (I use Cinnamon, CUPS) say the job has been sent to the printer, and the queue is empty, but the printer says it's sleeping and does nothing. The printer responds to pinging to its IP address. It also manages to scan images just fine. I tried connecting the printer via USB, and supposedly this succeeded - but again, no pages come out. I used the printer's test print function (not through the computer), and that's fine too. Finally, I've now used my laptop (running Lubuntu 18.04) to test: Made the same installation, and a test page prints. What's going on and how can I get my Devuan system to print again? **Edit:** Still seeing this all the way to 2025. I often have to reinstall the printer driver, which often works; then the newly-reinstalled printer stops printing again after a while.
einpoklum (10753 rep)
Feb 3, 2019, 09:10 PM • Last activity: Jun 28, 2025, 08:21 PM
3 votes
1 answers
4369 views
lpadmin add a network printer
I am having problems configuring a laserjet printer using lpadmin. I am using the following command: $ lpadmin -p LaserJet -E -v socket://10.1.1.1 -m laserjet.ppd lpadmin: Unable to copy PPD file. http://www.computerhope.com/unix/ulpadmin.htm $ find /| grep laserjet.ppd (returns nothing) I understan...
I am having problems configuring a laserjet printer using lpadmin. I am using the following command: $ lpadmin -p LaserJet -E -v socket://10.1.1.1 -m laserjet.ppd lpadmin: Unable to copy PPD file. http://www.computerhope.com/unix/ulpadmin.htm $ find /| grep laserjet.ppd (returns nothing) I understand this means the ppd driver file does not exist yet the following does not identify a driver for my printer: $ lpinfo --make-and-model "Laserjet Pro M402dn" -m lpinfo: client-error-not-found On my Ubuntu desktop I am using the M806 driver to print to this printer so: $ lpinfo --make-and-model "Laserjet M806" -m HP/hp-laserjet_m806-ps.ppd.gz HP LaserJet M806 Postscript (recommend) Now the following does not produce an error: $ lpadmin -p LaserJet -E -v socket://10.1.1.1 -m HP/hp-laserjet_m806-ps.ppd.gz To verify the printer has been created I ran the following: $ lpstat -d system default destination: Laserjet $ lpstat -p printer laserjet@ts_6666 unknown state. enabled since Jun 22... Printer: laserjet@tx_6666 - ERROR: spool queue for 'laserjet' does not exist on server ts_6666 check for correct printer name or you may need to run 'checkpc -f' to create queue What am I missing?
Dercni (195 rep)
Jun 22, 2016, 02:35 AM • Last activity: Jun 21, 2025, 06:05 AM
2 votes
2 answers
6825 views
Getting message "Printing completed" but nothing is actually printed... randomly
I have a shared over the network printer connected via USB to a Windows box. I am printing from my Linux laptop with Pop_OS 19.10 but sometimes it will say that the print Job is complete but actually hasn't printed anything. I've already saw a loo of people with the same problem however, in my case...
I have a shared over the network printer connected via USB to a Windows box. I am printing from my Linux laptop with Pop_OS 19.10 but sometimes it will say that the print Job is complete but actually hasn't printed anything. I've already saw a loo of people with the same problem however, in my case it happens randomly. Today I've received an email with two pdfs. The first pdf I've tried to print didn't print, the second one printed without any problem. I've tried to print again the first pdf, just to check, but I had the same problem again. This has been happening to me for the couple of weeks or so. Up to that time I had no problem printing from my linux laptop. DISTRIB_ID=Ubuntu DISTRIB_RELEASE=19.10 DISTRIB_CODENAME=eoan DISTRIB_DESCRIPTION="Pop!_OS 19.10" NAME="Pop!_OS" VERSION="19.10" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Pop!_OS 19.10" VERSION_ID="19.10" HOME_URL="https://system76.com/pop " SUPPORT_URL="http://support.system76.com " BUG_REPORT_URL="https://github.com/pop-os/pop/issues " PRIVACY_POLICY_URL="https://system76.com/privacy " VERSION_CODENAME=eoan UBUNTU_CODENAME=eoan LOGO=distributor-logo-pop-os cups: Installed: 2.2.12-2ubuntu1 Candidate: 2.2.12-2ubuntu1 Version table: *** 2.2.12-2ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu eoan/main amd64 Packages 100 /var/lib/dpkg/status smbclient: Installed: 2:4.10.7+dfsg-0ubuntu2.4 Candidate: 2:4.10.7+dfsg-0ubuntu2.4 Version table: *** 2:4.10.7+dfsg-0ubuntu2.4 500 500 http://us.archive.ubuntu.com/ubuntu eoan-security/main amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu eoan-updates/main amd64 Packages 100 /var/lib/dpkg/status 2:4.10.7+dfsg-0ubuntu2 500 500 http://us.archive.ubuntu.com/ubuntu eoan/main amd64 Packages EDIT: I could print the file from CLI using lp file.pdf
potato (453 rep)
Mar 4, 2020, 06:50 PM • Last activity: Jun 20, 2025, 07:06 PM
5 votes
1 answers
2361 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 limit for single user. How can I achieve this?
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 limit for single user. How can I achieve this?
ibasaran (121 rep)
Feb 21, 2014, 02:15 PM • Last activity: Jun 11, 2025, 03:08 PM
0 votes
0 answers
9 views
Printer appears and dissapears from printing menu
When printing a PDF using Atril document viewer, I get the following weird behaviour. The needed printer is the one dissapearing (it is a **network** printer, using Line Printer Deamon protocol, *lpd*). [![enter image description here][1]][1] Yet, when opening the PDF using a browser, printer is ava...
When printing a PDF using Atril document viewer, I get the following weird behaviour. The needed printer is the one dissapearing (it is a **network** printer, using Line Printer Deamon protocol, *lpd*). enter image description here Yet, when opening the PDF using a browser, printer is available: enter image description here This happened since today. I ran sudo apt-get upgrade last week but printed fine after that (here is the list of upgraded packages). Using Xubuntu 22.04.1.
luchonacho (863 rep)
Jun 9, 2025, 03:48 PM • Last activity: Jun 9, 2025, 03:54 PM
8 votes
2 answers
5132 views
How to print from Arch Linux via Wi-Fi to Canon MG6450?
I have a Canon MG6450 with Wi-Fi enabled and an up-to-date Arch Linux installation with [cnijfilter-mg4200 3.80-1][1] [installed][2]. I can *see* the printer in print dialogues (sometimes it takes a second to show up, presumably because it's being auto-discovered), I can select it, and I get no erro...
I have a Canon MG6450 with Wi-Fi enabled and an up-to-date Arch Linux installation with cnijfilter-mg4200 3.80-1 installed . I can *see* the printer in print dialogues (sometimes it takes a second to show up, presumably because it's being auto-discovered), I can select it, and I get no error message when clicking OK. However, the printer is completely oblivious to all this, it seems. I've also tried connecting via USB. Afterwards the printer was *not* auto-detected by the print dialogue, but it *was* detected by system-config-printer, and I was able to configure and print with no problems. But it would be very nice to be able to print wirelessly. --- It appears some fatal printing errors show up neither in the print dialogue nor in system-config-printer. Both of them simply report printer state as "Idle - Rendering completed". However, after going to the CUPS web interface and clicking the printer I finally got a hint - after each print job is the following message: > "The PPD version (5.2.11) is not compatible with Gutenprint 5.2.12. Please run `/usr/bin/cups-genppdupdate' as administrator." OK then: $ sudo /usr/bin/cups-genppdupdate /etc/cups/ppd/Canon-PIXMA-MG6450.ppd: no valid candidate for replacement. Skipping /etc/cups/ppd/Canon-PIXMA-MG6450.ppd: please upgrade this PPD manually Unable to retrieve PPD file for /etc/cups/ppd/Canon-PIXMA-MG6450.ppd! Failed to update any PPD files Now I'm seeing if anywhere has a compatible PPD. Canon's IJ Printer Driver Ver. 4.00 for Linux has PPD files for MG6400 and MG6500. I tried the MG6400 one, cleaned out the printer queue, and tried printing a test page. Now the CUPS web interface has no errors, but system-config-printer reports: > File "/usr/lib/cups/filter/pstocanonij" not available: No such file or directory Looks like that file is available from cnijfilter-common , which currently can't be built . After following the instructions by c.gerhorst I have installed the package, but now the printer dialogue is complaining that /usr/lib/cups/filter/cmdtocanonij is missing. --- There *is* a /usr/lib/cups/filter/commandtocanon. I've tried replacing cmdtocanonij with commandtocanon in /etc/cups/ppd/Canon-PIXMA-MG6450.ppd and running sudo systemctl daemon-reload and sudo systemctl restart org.cups.cupsd.service. Now I get no error message anywhere, but the print jobs just seem to disappear entirely. The printer shows no sign of receiving them, and the CUPS web interface shows any new jobs as first "processing", then "completed", without any indication that something is black-holing everything.
l0b0 (53368 rep)
Nov 24, 2015, 07:13 PM • Last activity: Jun 8, 2025, 09:00 AM
0 votes
2 answers
4851 views
CUPS: The printer is unreachable at this time
I have the following problem: I setup my printer **EPSON stylus SX525WD** via CUPS. To do so, I: 1. Accessed the web interface at [http://localhost:631/admin][1] 2. Clicked on "Add printer" 3. Selected *EPSON656CC1 (Epson Stylus SX525WD) (Epson Stylus SX525WD)* at *Discovered network printers* 4. Th...
I have the following problem: I setup my printer **EPSON stylus SX525WD** via CUPS. To do so, I: 1. Accessed the web interface at http://localhost:631/admin 2. Clicked on "Add printer" 3. Selected *EPSON656CC1 (Epson Stylus SX525WD) (Epson Stylus SX525WD)* at *Discovered network printers* 4. This provides me with the following address: *dnssd://EPSON656CC1%20(Epson%20Stylus%20SX525WD)._printer._tcp.local/* 5. When I finish the setup, the printer is listed under the *Printers* tab in the web interface, the status is *Idle*. However, when I now print a page, the printer does nothing and the status changes to *The printer is unreachable at this time.* The log file at /var/log/cups/error_log says the following: D [30/Aug/2021:20:31:21 +0200] [Job 5] time-at-processing=1630348281 D [30/Aug/2021:20:31:21 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:21 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Printing jobs and dirty files" D [30/Aug/2021:20:31:21 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files" D [30/Aug/2021:20:31:21 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:21 +0200] [Job 5] 3 filters for job: D [30/Aug/2021:20:31:21 +0200] [Job 5] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66) D [30/Aug/2021:20:31:21 +0200] [Job 5] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99) D [30/Aug/2021:20:31:21 +0200] [Job 5] epson-escpr-wrapper (application/vnd.cups-raster to printer/Epson_Stylus_SX525WD, cost 0) D [30/Aug/2021:20:31:21 +0200] [Job 5] job-sheets=none,none D [30/Aug/2021:20:31:21 +0200] [Job 5] argv="Epson_Stylus_SX525WD" D [30/Aug/2021:20:31:21 +0200] [Job 5] argv[1] ="5" D [30/Aug/2021:20:31:21 +0200] [Job 5] argv[2] ="sfuehr" D [30/Aug/2021:20:31:21 +0200] [Job 5] argv="Bestätigung in zwei Schritten" D [30/Aug/2021:20:31:21 +0200] [Job 5] argv="1" D [30/Aug/2021:20:31:21 +0200] [Job 5] argv="EPRendering=None XRXColor=BW INK=MONO SelectColor=Grayscale HPColorMode=GrayscalePrint ProcessColorModel=Mono BRMonoColor=Mono PrintoutMode=Normal.Gray BRPrintQuality=Black Collate Duplex=None ColorMode=Mono media=iso_a4_210x297mm CNIJGrayScale=1 ARCMode=CMBW ColorModel=Gray OKControl=Gray XROutputColor=PrintAsGrayscale BLW=TrueM job-uuid=urn:uuid:51397f87-5e63-3237-63fd-e969d719c5b4 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1630348279 time-at-processing=1630348281 PageSize=A4" D [30/Aug/2021:20:31:21 +0200] [Job 5] argv="/var/spool/cups/d00005-001" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="CUPS_CACHEDIR=/var/cache/cups" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp[1] ="CUPS_DATADIR=/usr/share/cups" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp[2] ="CUPS_DOCROOT=/usr/share/cups/doc" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="CUPS_FONTPATH=/usr/share/cups/fonts" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="CUPS_REQUESTROOT=/var/spool/cups" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="CUPS_SERVERBIN=/usr/lib/cups" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="CUPS_SERVERROOT=/etc/cups" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="CUPS_STATEDIR=/run/cups" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="HOME=/var/spool/cups/tmp" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="SERVER_ADMIN=root@thinkpadt490" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="SOFTWARE=CUPS/2.3.3op2" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="TMPDIR=/var/spool/cups/tmp" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="USER=root" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="CUPS_MAX_MESSAGE=2047" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="CUPS_SERVER=/run/cups/cups.sock" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="CUPS_ENCRYPTION=IfRequested" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="IPP_PORT=631" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="CHARSET=utf-8" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="LANG=en_US.UTF-8" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="PPD=/etc/cups/ppd/Epson_Stylus_SX525WD.ppd" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="RIP_MAX_CACHE=128m" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="CONTENT_TYPE=application/pdf" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="DEVICE_URI=dnssd://EPSON656CC1%20(Epson%20Stylus%20SX525WD)._printer._tcp.local/" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="PRINTER_INFO=Epson Stylus SX525WD" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="PRINTER_LOCATION=Tmp" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="PRINTER=Epson_Stylus_SX525WD" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="PRINTER_STATE_REASONS=none" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="CUPS_FILETYPE=document" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="FINAL_CONTENT_TYPE=application/vnd.cups-raster" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp="AUTH_I****" I [30/Aug/2021:20:31:21 +0200] [Job 5] Started filter /usr/lib/cups/filter/pdftopdf (PID 206687) I [30/Aug/2021:20:31:21 +0200] [Job 5] Started filter /usr/lib/cups/filter/gstoraster (PID 206688) I [30/Aug/2021:20:31:21 +0200] [Job 5] Started filter /usr/lib/cups/filter/epson-escpr-wrapper (PID 206689) I [30/Aug/2021:20:31:21 +0200] [Job 5] Started backend /usr/lib/cups/backend/dnssd (PID 206690) D [30/Aug/2021:20:31:21 +0200] Discarding unused job-state-changed event... D [30/Aug/2021:20:31:21 +0200] [Job 5] Resolving \"EPSON656CC1 (Epson Stylus SX525WD)._printer._tcp.local\"... D [30/Aug/2021:20:31:21 +0200] [Job 5] STATE: +connecting-to-device D [30/Aug/2021:20:31:21 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:21 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files" D [30/Aug/2021:20:31:21 +0200] [Job 5] Resolving \"EPSON656CC1 (Epson Stylus SX525WD)\", regtype=\"_printer._tcp\", domain=\"local.\"... D [30/Aug/2021:20:31:21 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:21 +0200] [Job 5] pdftopdf: Last filter determined by the PPD: epson-escpr-wrapper; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log. D [30/Aug/2021:20:31:21 +0200] [Job 5] OUTFORMAT=\"\", so output format will be CUPS/PWG Raster D [30/Aug/2021:20:31:21 +0200] [Job 5] Resolved as \"lpd://EPSON656CC1.local:515/auto\"... D [30/Aug/2021:20:31:21 +0200] [Job 5] STATE: -connecting-to-device,offline-report D [30/Aug/2021:20:31:21 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:21 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Dirty files" D [30/Aug/2021:20:31:21 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:21 +0200] [Job 5] Executing backend \"/usr/lib/cups/backend/lpd\"... D [30/Aug/2021:20:31:21 +0200] [Job 5] STATE: +connecting-to-device D [30/Aug/2021:20:31:21 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:21 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Printing jobs and dirty files" D [30/Aug/2021:20:31:21 +0200] [Job 5] Looking up \"EPSON656CC1.local\"... D [30/Aug/2021:20:31:21 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:21 +0200] [Job 5] PDF interactive form and annotation flattening done via QPDF D [30/Aug/2021:20:31:21 +0200] [Job 5] PID 206687 (/usr/lib/cups/filter/pdftopdf) exited with no errors. D [30/Aug/2021:20:31:21 +0200] [Job 5] Color Manager: Calibration Mode/Off D [30/Aug/2021:20:31:21 +0200] [Job 5] Calling FindDeviceById(cups-Epson_Stylus_SX525WD) D [30/Aug/2021:20:31:21 +0200] [Job 5] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files D [30/Aug/2021:20:31:21 +0200] [Job 5] Failed to get find device cups-Epson_Stylus_SX525WD D [30/Aug/2021:20:31:21 +0200] [Job 5] Calling FindDeviceById(cups-Epson_Stylus_SX525WD) D [30/Aug/2021:20:31:21 +0200] [Job 5] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files D [30/Aug/2021:20:31:21 +0200] [Job 5] Failed to get device cups-Epson_Stylus_SX525WD D [30/Aug/2021:20:31:21 +0200] [Job 5] Color Manager: no profiles specified in PPD D [30/Aug/2021:20:31:21 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:21 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files" D [30/Aug/2021:20:31:21 +0200] [Job 5] Set job-printer-state-message to "Color Manager: no profiles specified in PPD", current level=INFO D [30/Aug/2021:20:31:21 +0200] [Job 5] Color Manager: ICC Profile: None D [30/Aug/2021:20:31:21 +0200] Discarding unused job-progress event... D [30/Aug/2021:20:31:21 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:21 +0200] [Job 5] Ghostscript using Any-Part-of-Pixel method to fill paths. D [30/Aug/2021:20:31:21 +0200] [Job 5] Ghostscript command line: gs -dQUIET -dSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -r360x360 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=841 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=0 -dcupsCompression=1 -scupsPageSizeName=A4 -I/usr/share/cups/fonts -c \'>setpagedevice\' -f -_ D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"CUPS_CACHEDIR=/var/cache/cups\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp[1] =\"CUPS_DATADIR=/usr/share/cups\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp[2] =\"CUPS_DOCROOT=/usr/share/cups/doc\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"CUPS_FONTPATH=/usr/share/cups/fonts\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"CUPS_REQUESTROOT=/var/spool/cups\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"CUPS_SERVERBIN=/usr/lib/cups\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"CUPS_SERVERROOT=/etc/cups\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"CUPS_STATEDIR=/run/cups\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"HOME=/var/spool/cups/tmp\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"SERVER_ADMIN=root@thinkpadt490\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"SOFTWARE=CUPS/2.3.3op2\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"TMPDIR=/var/spool/cups/tmp\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"USER=root\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"CUPS_MAX_MESSAGE=2047\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"CUPS_SERVER=/run/cups/cups.sock\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"CUPS_ENCRYPTION=IfRequested\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"IPP_PORT=631\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"CHARSET=utf-8\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"LANG=en_US.UTF-8\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"PPD=/etc/cups/ppd/Epson_Stylus_SX525WD.ppd\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"RIP_MAX_CACHE=128m\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"CONTENT_TYPE=application/pdf\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"DEVICE_URI=dnssd://EPSON656CC1%20(Epson%20Stylus%20SX525WD)._printer._tcp.local/\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"PRINTER_INFO=Epson Stylus SX525WD\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"PRINTER_LOCATION=Tmp\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"PRINTER=Epson_Stylus_SX525WD\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"PRINTER_STATE_REASONS=none\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"CUPS_FILETYPE=document\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\" D [30/Aug/2021:20:31:21 +0200] [Job 5] envp=\"AUTH_INFO_REQUIRED=none\" D [30/Aug/2021:20:31:21 +0200] [Job 5] Start rendering... D [30/Aug/2021:20:31:21 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:21 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files" D [30/Aug/2021:20:31:21 +0200] [Job 5] Set job-printer-state-message to "Start rendering...", current level=INFO D [30/Aug/2021:20:31:21 +0200] [Job 5] Processing page 1... D [30/Aug/2021:20:31:21 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:21 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files" D [30/Aug/2021:20:31:21 +0200] [Job 5] Set job-printer-state-message to "Processing page 1...", current level=INFO D [30/Aug/2021:20:31:21 +0200] Discarding unused job-progress event... D [30/Aug/2021:20:31:21 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:22 +0200] [Job 5] Processing page 2... D [30/Aug/2021:20:31:22 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:22 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files" D [30/Aug/2021:20:31:22 +0200] [Job 5] Set job-printer-state-message to "Processing page 2...", current level=INFO D [30/Aug/2021:20:31:22 +0200] Discarding unused job-progress event... D [30/Aug/2021:20:31:22 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:22 +0200] [Job 4] Unloading... D [30/Aug/2021:20:31:22 +0200] [Job 5] Processing page 3... D [30/Aug/2021:20:31:22 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:22 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files" D [30/Aug/2021:20:31:22 +0200] [Job 5] Set job-printer-state-message to "Processing page 3...", current level=INFO D [30/Aug/2021:20:31:22 +0200] Discarding unused job-progress event... D [30/Aug/2021:20:31:22 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:22 +0200] [Job 5] Rendering completed D [30/Aug/2021:20:31:22 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:22 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files" D [30/Aug/2021:20:31:22 +0200] [Job 5] Set job-printer-state-message to "Rendering completed", current level=INFO D [30/Aug/2021:20:31:22 +0200] Discarding unused job-progress event... D [30/Aug/2021:20:31:22 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:22 +0200] [Job 5] PID 206688 (/usr/lib/cups/filter/gstoraster) exited with no errors. D [30/Aug/2021:20:31:26 +0200] [Job 5] STATE: -connecting-to-device D [30/Aug/2021:20:31:26 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:26 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Dirty files" D [30/Aug/2021:20:31:26 +0200] [Job 5] EPSON656CC1.local=192.168.0.166 D [30/Aug/2021:20:31:26 +0200] [Job 5] backendWaitLoop(snmp_fd=6, addr=0x55c32cc49ad8, side_cb=0x55c32bd531d0) D [30/Aug/2021:20:31:26 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:26 +0200] [Job 5] Copying print data. D [30/Aug/2021:20:31:26 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:26 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files" D [30/Aug/2021:20:31:26 +0200] [Job 5] Set job-printer-state-message to "Copying print data.", current level=INFO D [30/Aug/2021:20:31:26 +0200] Discarding unused job-progress event... D [30/Aug/2021:20:31:26 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:26 +0200] [Job 5] backendRunLoop(print_fd=-1, device_fd=7, snmp_fd=6, addr=0x55c32cc49ad8, use_bc=0, side_cb=0x55c32bd531d0) D [30/Aug/2021:20:31:26 +0200] [Job 5] Read 8192 bytes of print data... I [30/Aug/2021:20:31:28 +0200] Saving job.cache... D [30/Aug/2021:20:31:28 +0200] cupsdSetBusyState: newbusy="Printing jobs", busy="Printing jobs and dirty files" D [30/Aug/2021:20:31:30 +0200] [Job 5] prtGeneralCurrentLocalization type is 0, expected 2! D [30/Aug/2021:20:31:30 +0200] [Job 5] Wrote 8192 bytes of print data... ... A lot of those lines ... D [30/Aug/2021:20:31:31 +0200] [Job 5] PID 206689 (/usr/lib/cups/filter/epson-escpr-wrapper) exited with no errors. D [30/Aug/2021:20:31:31 +0200] [Job 5] Connecting to EPSON656CC1.local:515 for printer auto D [30/Aug/2021:20:31:31 +0200] [Job 5] Connecting to printer. D [30/Aug/2021:20:31:31 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:31 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs" D [30/Aug/2021:20:31:31 +0200] [Job 5] Set job-printer-state-message to "Connecting to printer.", current level=INFO D [30/Aug/2021:20:31:31 +0200] Discarding unused job-progress event... D [30/Aug/2021:20:31:31 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:34 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:31:34 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:31:34 +0200] cupsdMarkDirty(---J-) D [30/Aug/2021:20:31:34 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files" D [30/Aug/2021:20:31:34 +0200] [Job 5] Set job-printer-state-message to "The printer is unreachable at this time.", current level=WARN D [30/Aug/2021:20:31:34 +0200] Discarding unused job-progress event... D [30/Aug/2021:20:31:34 +0200] Discarding unused printer-state-changed event... D [30/Aug/2021:20:31:34 +0200] Report: clients=2 D [30/Aug/2021:20:31:34 +0200] Report: jobs=4 D [30/Aug/2021:20:31:34 +0200] Report: jobs-active=1 D [30/Aug/2021:20:31:34 +0200] Report: printers=1 D [30/Aug/2021:20:31:34 +0200] Report: stringpool-string-count=642 D [30/Aug/2021:20:31:34 +0200] Report: stringpool-alloc-bytes=10232 D [30/Aug/2021:20:31:34 +0200] Report: stringpool-total-bytes=12152 D [30/Aug/2021:20:31:42 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:31:42 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:31:55 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:31:55 +0200] [Job 5] The printer is unreachable at this time. I [30/Aug/2021:20:32:02 +0200] Saving job.cache... D [30/Aug/2021:20:32:02 +0200] cupsdSetBusyState: newbusy="Printing jobs", busy="Printing jobs and dirty files" D [30/Aug/2021:20:32:13 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:32:13 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:32:36 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:32:36 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:32:36 +0200] Report: clients=2 D [30/Aug/2021:20:32:36 +0200] Report: jobs=4 D [30/Aug/2021:20:32:36 +0200] Report: jobs-active=1 D [30/Aug/2021:20:32:36 +0200] Report: printers=1 D [30/Aug/2021:20:32:36 +0200] Report: stringpool-string-count=642 D [30/Aug/2021:20:32:36 +0200] Report: stringpool-alloc-bytes=10232 D [30/Aug/2021:20:32:36 +0200] Report: stringpool-total-bytes=12152 D [30/Aug/2021:20:33:04 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:33:04 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:33:37 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:33:37 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:33:37 +0200] Report: clients=2 D [30/Aug/2021:20:33:37 +0200] Report: jobs=4 D [30/Aug/2021:20:33:37 +0200] Report: jobs-active=1 D [30/Aug/2021:20:33:37 +0200] Report: printers=1 D [30/Aug/2021:20:33:37 +0200] Report: stringpool-string-count=642 D [30/Aug/2021:20:33:37 +0200] Report: stringpool-alloc-bytes=10232 D [30/Aug/2021:20:33:37 +0200] Report: stringpool-total-bytes=12152 D [30/Aug/2021:20:34:10 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:34:10 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:34:43 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:34:43 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:34:43 +0200] Report: clients=2 D [30/Aug/2021:20:34:43 +0200] Report: jobs=4 D [30/Aug/2021:20:34:43 +0200] Report: jobs-active=1 D [30/Aug/2021:20:34:43 +0200] Report: printers=1 D [30/Aug/2021:20:34:43 +0200] Report: stringpool-string-count=642 D [30/Aug/2021:20:34:43 +0200] Report: stringpool-alloc-bytes=10232 D [30/Aug/2021:20:34:43 +0200] Report: stringpool-total-bytes=12152 D [30/Aug/2021:20:35:16 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:35:16 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:35:49 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:35:49 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:35:49 +0200] cupsdAddCert: Adding certificate for PID 0 D [30/Aug/2021:20:35:49 +0200] Report: clients=2 D [30/Aug/2021:20:35:49 +0200] Report: jobs=4 D [30/Aug/2021:20:35:49 +0200] Report: jobs-active=1 D [30/Aug/2021:20:35:49 +0200] Report: printers=1 D [30/Aug/2021:20:35:49 +0200] Report: stringpool-string-count=642 D [30/Aug/2021:20:35:49 +0200] Report: stringpool-alloc-bytes=10232 D [30/Aug/2021:20:35:49 +0200] Report: stringpool-total-bytes=12152 D [30/Aug/2021:20:36:22 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:36:22 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:36:44 +0200] [Client 125] HTTP_STATE_WAITING Closing for error 32 (Broken pipe) D [30/Aug/2021:20:36:44 +0200] [Client 125] Closing connection. D [30/Aug/2021:20:36:44 +0200] cupsdSetBusyState: newbusy="Printing jobs", busy="Printing jobs" D [30/Aug/2021:20:36:55 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:36:55 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:36:55 +0200] Report: clients=1 D [30/Aug/2021:20:36:55 +0200] Report: jobs=4 D [30/Aug/2021:20:36:55 +0200] Report: jobs-active=1 D [30/Aug/2021:20:36:55 +0200] Report: printers=1 D [30/Aug/2021:20:36:55 +0200] Report: stringpool-string-count=642 D [30/Aug/2021:20:36:55 +0200] Report: stringpool-alloc-bytes=10232 D [30/Aug/2021:20:36:55 +0200] Report: stringpool-total-bytes=12152 D [30/Aug/2021:20:37:28 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:37:28 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:38:01 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:38:01 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:38:01 +0200] Report: clients=1 D [30/Aug/2021:20:38:01 +0200] Report: jobs=4 D [30/Aug/2021:20:38:01 +0200] Report: jobs-active=1 D [30/Aug/2021:20:38:01 +0200] Report: printers=1 D [30/Aug/2021:20:38:01 +0200] Report: stringpool-string-count=642 D [30/Aug/2021:20:38:01 +0200] Report: stringpool-alloc-bytes=10232 D [30/Aug/2021:20:38:01 +0200] Report: stringpool-total-bytes=12152 D [30/Aug/2021:20:38:34 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:38:34 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:39:07 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:39:07 +0200] [Job 5] The printer is unreachable at this time. D [30/Aug/2021:20:39:07 +0200] Report: clients=1 D [30/Aug/2021:20:39:07 +0200] Report: jobs=4 D [30/Aug/2021:20:39:07 +0200] Report: jobs-active=1 D [30/Aug/2021:20:39:07 +0200] Report: printers=1 D [30/Aug/2021:20:39:07 +0200] Report: stringpool-string-count=642 D [30/Aug/2021:20:39:07 +0200] Report: stringpool-alloc-bytes=10232 D [30/Aug/2021:20:39:07 +0200] Report: stringpool-total-bytes=12152 D [30/Aug/2021:20:39:40 +0200] [Job 5] Connection error: No route to host W [30/Aug/2021:20:39:40 +0200] [Job 5] The printer is unreachable at this time. Pinging the printer via ping 192.168.0.166 (I got the IP address by accessing the interface of the printer itself) results in the error message *Destination Host Unreachable*. Running traceroute 192.168.0.166 returns *1 thinkpadt490 (192.168.0.109) 3033.085 ms !H 3033.044 ms !H 3033.027 ms !H*. lpstat -t returns the following:
scheduler is running
system default destination: Epson_Stylus_SX525WD
device for Epson_Stylus_SX525WD: dnssd://EPSON656CC1%20(Epson%20Stylus%20SX525WD)._printer._tcp.local/
Epson_Stylus_SX525WD accepting requests since Mon 30 Aug 2021 08:31:21 PM CEST
printer Epson_Stylus_SX525WD now printing Epson_Stylus_SX525WD-5.  enabled since Mon 30 Aug 2021 08:31:21 PM CEST
        The printer is unreachable at this time.
Epson_Stylus_SX525WD-5  sfuehr          111616   Mon 30 Aug 2021 08:31:19 PM CEST
So at the moment I'm quite confused why I can't reach the printer when I ping it, but the CUPS web interface finds it when using the automatic setup wizard when adding a new printer as well as running lpstat -t. Does anyone have any suggestions as to what to try next? I couldn't find anything similar in https://wiki.archlinux.org/title/CUPS/Troubleshooting and I don't really understand what to make of the traceroute results. Any help is much appreciated :)
Sebastian Führ (1 rep)
Aug 30, 2021, 06:49 PM • Last activity: Jun 4, 2025, 09:08 PM
1 votes
1 answers
1959 views
hplip 3.16.2: no installed HP device found (while CUPS finds it)
I was investigating further an issue already reported [here][1]. The problem is: after having upgraded the **hplip** driver to **3.16.2**, the scanner in my all-in-one printer **HP Color LaserJet Pro MFP M277dw** does not work any longer (while the printer does). Today I found other oddities that se...
I was investigating further an issue already reported here . The problem is: after having upgraded the **hplip** driver to **3.16.2**, the scanner in my all-in-one printer **HP Color LaserJet Pro MFP M277dw** does not work any longer (while the printer does). Today I found other oddities that seem specific to **hplip** rather than to **sane**, whereby this other post. I use **Ubuntu Linux 14.04 LTS**. In all that follows the device is connected and powered-on. The hplip page for that device is here . # Evidences # **a.** Moving on from the **sane** community page on Ubuntu , I followed the suggestion to run sudo hp-setup. The answer is warning: CUPSEXT could not be loaded. Please check HPLIP installation. **b.** If run hp-doctor, the welcome message is error: This distro (i.e ubuntu 14.04) is either deprecated or not yet supported. This sounds utterly odd to me, because the previous hplip did not dare to complain this far of the very same distro. The complete output of hp-doctor is available from here on Paste Ubuntu . **c.** Ever more puzzling, if I open the HP device manager, I am presented with the window enter image description here which seems a false statement to me, since the device works as a printer at the very least. If I click on Setup device... I get again the same dialogue window. And **CUPS** on localhost:631 indeed confirms that the printer is there ready to be found, nice and idle. # Questions # Is there a way to have the commands hp-setup and hp-doctor run smoothly so that I can fix the scanner issue down the line? If not, how do I downgrade the hplip driver to the previous stable version? Installing 3.16.2 has led to more havoc than joy.
XavierStuvw (1179 rep)
Jul 9, 2016, 07:35 PM • Last activity: May 29, 2025, 06:07 AM
0 votes
1 answers
124 views
Very long delay before printing via WiFi
Debian 11 (bullseye). Recently I installed new printer Brother HL-L2400DW, it have USB and wireless connectivity. I have CUPS on http://localhost:631/printers/ The problem is printer have a very long delay (~10min) before it starts printing via WiFi. It stays in "deep sleep" mode, and it may take up...
Debian 11 (bullseye). Recently I installed new printer Brother HL-L2400DW, it have USB and wireless connectivity. I have CUPS on http://localhost:631/printers/ The problem is printer have a very long delay (~10min) before it starts printing via WiFi. It stays in "deep sleep" mode, and it may take up to 10 minutes to start printing. I tried restart CUPS but it doesn't change anything. I'm printing from LibreOffice Writer, relatively small docs. error_log EDIT: The issue seems to be with the CUPS server related. CUPS for Linux lacks the clear manual how to use web-based administration tool to manage printers and jobs on server. Before reconfiguring CUPS I had only one entry on the CUPS printers page *http://localhost:631/printers*: HLL2400DW HLL2400DW Brother HL-L2400DW for CUPS Logically, this is quite correct, as I have only one printer, and I used Brother Driver Install Tool and I followed vendor manual how to configure printer. Connection: lpd://local_IP/BINARY_P1 However, it turns out that this is not enough for CUPS. Solution was to go to the CUPS admin UI (http://localhost:631/admin), then add the printer using the first option for a network printer CUPS itself detected. "Add Printer" > "Discovered Network Printers" > choose the first option Now CUPS Printer page shows two printers: Brother_HL-L2400DW Brother HL-L2400DW Home Lab Printer - IPP Everywhere HLL2400DW HLL2400DW Brother HL-L2400DW for CUPS but in Writer "Print" menu now I have 5 printers under different(!) names. So all this just adds the confusion.
minto (575 rep)
May 10, 2025, 11:20 AM • Last activity: May 26, 2025, 10:37 AM
2 votes
1 answers
7033 views
cups unable to communicate with avahi-daemon when running as a service
I'm finishing setting up my Raspberry Pi in a read-only mode and cups service seems to be the last thing that is causing me issues. As cups writes the config to /etc, I decided to mount /etc/cups as an overlay system: $ mount ... overlay on /etc/cups type overlay (rw,relatime,lowerdir=/etc/cups_org,...
I'm finishing setting up my Raspberry Pi in a read-only mode and cups service seems to be the last thing that is causing me issues. As cups writes the config to /etc, I decided to mount /etc/cups as an overlay system: $ mount ... overlay on /etc/cups type overlay (rw,relatime,lowerdir=/etc/cups_org,upperdir=/etc/cups_rw/upper,workdir=/etc/cups_rw/work) ... The cups service starts successfully, I'm able to access the localhost:631 page, however going to /admin subpage results in "Internal server error" and the /printer subpage shows: Unable to get printer list: Bad file descriptor. During startup of the service I see in the log: E [03/Sep/2016:17:17:13 +0200] Unable to communicate with avahi-daemon: Daemon not running while the avahi daemon is active and running When accessing the /admin subpage the log shows: D [03/Sep/2016:18:22:39 +0200] [CGI] Started /usr/lib/cups/cgi-bin/admin.cgi (PID 5367) I [03/Sep/2016:18:22:39 +0200] [Client 13] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=5367) D [03/Sep/2016:18:22:39 +0200] [Client 13] file=14 D [03/Sep/2016:18:22:39 +0200] [Client 13] Waiting for CGI data. D [03/Sep/2016:18:22:39 +0200] Report: clients=1 D [03/Sep/2016:18:22:39 +0200] Report: jobs=0 D [03/Sep/2016:18:22:39 +0200] Report: jobs-active=0 D [03/Sep/2016:18:22:39 +0200] Report: printers=1 D [03/Sep/2016:18:22:39 +0200] Report: stringpool-string-count=654 D [03/Sep/2016:18:22:39 +0200] Report: stringpool-alloc-bytes=6392 D [03/Sep/2016:18:22:39 +0200] Report: stringpool-total-bytes=11720 D [03/Sep/2016:18:22:39 +0200] cupsd is not idle any more, canceling shutdown. D [03/Sep/2016:18:22:39 +0200] [CGI] admin.cgi started... D [03/Sep/2016:18:22:39 +0200] cupsd is not idle any more, canceling shutdown. E [03/Sep/2016:18:22:39 +0200] [CGI] Unable to connect to cupsd: Bad file descriptor E [03/Sep/2016:18:22:39 +0200] [CGI] Unable to connect to cupsd: Bad file descriptor D [03/Sep/2016:18:22:39 +0200] [CGI] cupsServer()="/var/run/cups/cups.sock" D [03/Sep/2016:18:22:39 +0200] [CGI] ippPort()=631 D [03/Sep/2016:18:22:39 +0200] cupsd is not idle any more, canceling shutdown. D [03/Sep/2016:18:22:39 +0200] [CGI] cupsEncryption()=0 D [03/Sep/2016:18:22:39 +0200] cupsd is not idle any more, canceling shutdown. D [03/Sep/2016:18:22:39 +0200] [Client 13] CGI data ready to be sent. D [03/Sep/2016:18:22:39 +0200] PID 5367 (/usr/lib/cups/cgi-bin/admin.cgi) stopped with status 1. However, when I stop the service, and run the program manually: /usr/sbin/cupsd -f the problem does not occur at all. The log shows: D [03/Sep/2016:18:25:33 +0200] Avahi server connection now available, registering printers for Bonjour broadcasting. And I'm able to access /admin (and all the other subpages): D [03/Sep/2016:18:25:36 +0200] [CGI] Started /usr/lib/cups/cgi-bin/admin.cgi (PID 6269) I [03/Sep/2016:18:25:36 +0200] [Client 17] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=6269) D [03/Sep/2016:18:25:36 +0200] [Client 17] file=18 D [03/Sep/2016:18:25:36 +0200] [Client 17] Waiting for CGI data. D [03/Sep/2016:18:25:36 +0200] cupsd is not idle any more, canceling shutdown. D [03/Sep/2016:18:25:36 +0200] [CGI] admin.cgi started... D [03/Sep/2016:18:25:36 +0200] cupsd is not idle any more, canceling shutdown. D [03/Sep/2016:18:25:36 +0200] [Client 19] Accepted from localhost (Domain) D [03/Sep/2016:18:25:36 +0200] [Client 19] Waiting for request. D [03/Sep/2016:18:25:36 +0200] [CGI] http=0x554e9db8 D [03/Sep/2016:18:25:36 +0200] [CGI] cgiSetVariable: SECTION="admin" D [03/Sep/2016:18:25:36 +0200] [CGI] cgiSetVariable: REFRESH_PAGE="" D [03/Sep/2016:18:25:36 +0200] cupsd is not idle any more, canceling shutdown. D [03/Sep/2016:18:25:36 +0200] [CGI] org.cups.sid cookie is "72b5efbcd72416115613b87b329ce911" D [03/Sep/2016:18:25:36 +0200] [CGI] No form data, showing main menu... Any hints on what can be the reason of this behavior and how to solve the issue (change the config in cups.service file?) or at least to move this troubleshooting further?
asliwinski (121 rep)
Sep 3, 2016, 04:43 PM • Last activity: May 2, 2025, 01:02 PM
0 votes
1 answers
154 views
Print error on Debian 12 CUPS: "is cups-browsed running?"
System: Debian 12. I get an error message in CUPS after having installed a PPD file (from Settings > Printers). Here is the message: "Use "pdftops-renderer" option (see cups-filters README file) to use Ghostscript or MuPDF for the PDF -> PostScript conversion." I have the same message with another p...
System: Debian 12. I get an error message in CUPS after having installed a PPD file (from Settings > Printers). Here is the message: "Use "pdftops-renderer" option (see cups-filters README file) to use Ghostscript or MuPDF for the PDF -> PostScript conversion." I have the same message with another printer after installing the driver. If I don't install the PPD files, I don't get the error message, and printing succeeds… but of course, I don't benefit from the options of the driver. The same PPD files worked fine on Debian 10. Edit (thanks a lot, @thecarpy): here are some logs that seem to me more relevant: W [24/Feb/2025:18:29:50 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Xerox_WorkCentre_3225_XRX9C934E42F10A-Gray..\' already exists W [24/Feb/2025:18:29:50 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Xerox_WorkCentre_3225_XRX9C934E42F10A-DeviceN..\' already exists W [24/Feb/2025:19:00:55 +0100] [Job 8] Grayscale/monochrome printing requested for this job but Poppler is not able to convert to grayscale/monochrome PostScript. W [24/Feb/2025:19:00:55 +0100] [Job 8] Use \"pdftops-renderer\" option (see cups-filters README file) to use Ghostscript or MuPDF for the PDF -> PostScript conversion. E [24/Feb/2025:19:01:55 +0100] [Job 8] No destination host name supplied by cups-browsed for printer \"KONICAMINOLTA_bizhub_287_9E_CA_01\", is cups-browsed running? W [24/Feb/2025:19:01:56 +0100] [Job 8] Backend returned status 4 (stop printer) W [24/Feb/2025:19:11:00 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Xerox_WorkCentre_3225_XRX9C934E42F10A-Gray..\' already exists W [24/Feb/2025:19:11:00 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Xerox_WorkCentre_3225_XRX9C934E42F10A-DeviceN..\' already exists … W [25/Feb/2025:08:18:59 +0100] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
BrRoman (11 rep)
Feb 20, 2025, 02:06 PM • Last activity: Apr 1, 2025, 07:21 AM
0 votes
0 answers
137 views
How to Make a Custom Banner Page on CUPS on Linux?
On macOS, the creation of banner pages for cups is simple: you create a file prepended with #CUPS-BANNER and then write certain parameters for headers, footers, and information to be displayed. Example from [CUPS' website](https://www.cups.org/doc/spec-banner.html): ``` #CUPS-BANNER # What to show o...
On macOS, the creation of banner pages for cups is simple: you create a file prepended with #CUPS-BANNER and then write certain parameters for headers, footers, and information to be displayed. Example from [CUPS' website](https://www.cups.org/doc/spec-banner.html) :
#CUPS-BANNER

# What to show on the cover page
Show job-id job-name job-originating-user-name time-at-creation

# The header and footer text
Header Cover Page
Footer Cover Page

# Arbitrary "notice" text
Notice All work and no play makes Johnny a dull boy.
Notice All work and no play makes Johnny a dull boy.
Notice All work and no play makes Johnny a dull boy.
Notice All work and no play makes Johnny a dull boy.

# Images to place below the rest
Image /usr/share/doc/cups/images/cups-icon.png
Image /usr/share/doc/cups/images/smiley.jpg
This is how the all job sheets are stored. On linux, CUPS banners are stored in files called _PDF_ banners. These banners draw from some template that is a pdf file and contain certain attributes (example from my system):
#PDF-BANNER
Template secret.pdf
Show printer-name printer-info printer-location printer-make-and-model printer-driver-name printer-driver-version paper-size imageable-area job-id options time-at-creation time-at-processing
_(/usr/share/cups/banners/secret and template is at /usr/share/cups/data/secret.pdf)_ The question for me is how to make my own PDF banner for printing. On macOS the answer is obvious but on Linux it is considerably harder because I don't know what is done to these template PDFs to make them filled in dynamically in such a way. I even heard somewhere that CUPS supports postscript and ascii banners. Thank's for answering! ## System info Linux: fedora asahi remix 40 on a macbook pro with m1 pro chip CUPS: v2.4.10 All tests are printed using the Cups-PDF virtual printer
Ben Raz (1 rep)
Mar 5, 2025, 08:37 PM
Showing page 1 of 20 total questions