Bug found when solving https://bugzilla.redhat.com/show_bug.cgi?id=1621949 . However: on both 2.2.6-19 and 2.2.6-20, I am having a different problem. After printing a job to my network printer, it never disappears from the queue on my Fedora laptop. It says "Waiting for job to complete.", even though it printed long ago. For example, the test I just printed: bash$ lpstat -t scheduler is running system default destination: Epson-XP-830 device for Epson-XP-830: ipp://epson-xp-830/ipp/print Epson-XP-830 accepting requests since Mon 03 Sep 2018 10:55:17 PM EDT printer Epson-XP-830 is idle. enabled since Mon 03 Sep 2018 10:55:17 PM EDT Waiting for job to complete. Epson-XP-830-180 schorr 15360 Mon 03 Sep 2018 10:54:45 PM EDT But the printout is already on the printer! So there seems to be a new bug. -------------------------------------------
Created attachment 1480683 [details] journald logs for job in question I managed to reproduce the issue (test.txt -> $ echo "test" > test.txt): $ lp -d HP_Officejet_Pro_8500_A909a test.txt $ lpstat -t printer HP_Officejet_Pro_8500_A909a is idle. enabled since Tue 04 Sep 2018 09:08:23 AM CEST Waiting for printer to finish. $ journalctl -u cups JID=381 > job-381.out (attached) The error seems to happen in ghostscript, because gstoraster filter from cups-filter calls ghostscript as: gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dColorConversionStrategy=/LeaveColorUnchanged -r600x600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -I/usr/share/cups/fonts -c \'<</.HWMargins[9.360000 9.360000 9.359985 9.359985] /Margins[0 0]>>setpagedevice\' -f -_ I think it is connected to https://github.com/apple/cups/issues/5392 , where Chris Liddel, the ghostscript maintainer, told us so. Here is the patch http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=150c8f69646b . David, would you mind looking into it?
(In reply to Zdenek Dohnal from comment #1) > $ lpstat -t > printer HP_Officejet_Pro_8500_A909a is idle. enabled since Tue 04 Sep 2018 > 09:08:23 AM CEST > Waiting for printer to finish. > After this, you can see the job in the queue, although it is correctly printed. $ lpstat -o HP_Officejet_pro_8500_A909a HP_Officejet_Pro_8500_A909a-381 zdohnal 1024 ... When you open cups web ui at localhost:631, you can see the job in the queue with message 'Filter failed'. Similar message you can find in journald.
(In reply to Zdenek Dohnal from comment #1) > I think it is connected to https://github.com/apple/cups/issues/5392 , where > Chris Liddel, the ghostscript maintainer, told us so. At least it is similar to it - I do not think it is coincidence to have such similar error on the same filter in such small time frame.
I will be doing a rebase to ghostscript-9.24 as soon as it is out, which should also resolve this issue.
Hi, would you still like me to troubleshoot this on my system, or did you already gather all the necessary information? Thanks, Andy
I think I'm able to get necessary info by myself, so you don't need to troubleshoot it for now. But it would be great if you are willing to check if it works after the fix. Thanks! Zdenek
ghostscript-9.24-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ce5fba9e1a
ghostscript-9.24-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-56221eb24b
ghostscript-9.24-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
ghostscript-9.24-3.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-81ee973d7c
ghostscript-9.24-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-81ee973d7c
ghostscript-9.24-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.