Created attachment 1482794 [details] result of journalctl -u cups --since=today Description of problem: lpq and HPLIP show print job completed. $ journalctl -u cups --since=today shows cupsd[7460]: [Job 976] Job stopped due to filter errors; please consult the error_log file for details. Sep 12 08:57:38 electron cupsd[10431]: [Job 994] Started filter gs (PID 10890) Sep 12 08:57:38 electron cupsd[10431]: [Job 994] Started filter pstops (PID 10891) Sep 12 08:57:38 electron cupsd[10431]: [Job 994] STATE: -connecting-to-device Sep 12 08:57:38 electron cupsd[10431]: [Job 994] STATE: -media-empty-error,media-jam-error,hplip.plugin-error,cover-open-error,toner-empty-error,other Sep 12 08:57:38 electron cupsd[10431]: [Job 994] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find ps_gray.icc Sep 12 08:57:38 electron cupsd[10431]: [Job 994] + ./base/gsicc_manage.c:255: gsicc_initialize_iccsmask(): failed to load gray smask profile Sep 12 08:57:38 electron cupsd[10431]: [Job 994] Page = 612x792; 12,12 to 600,780 Sep 12 08:57:38 electron cupsd[10431]: [Job 994] slow_collate=0, slow_duplex=0, slow_order=0 Sep 12 08:57:38 electron cupsd[10431]: [Job 994] This document does not conform to the Adobe Document Structuring Conventions and may not print correctly. Sep 12 08:57:38 electron cupsd[10431]: [Job 994] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_rgb.icc Sep 12 08:57:38 electron cupsd[10431]: [Job 994] | ./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile Sep 12 08:57:38 electron cupsd[10431]: [Job 994] GPL Ghostscript 9.24: Unrecoverable error, exit code 1 Sep 12 08:57:38 electron cupsd[10431]: [Job 994] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_gray.icc Sep 12 08:57:38 electron cupsd[10431]: [Job 994] | ./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile Sep 12 08:57:38 electron cupsd[10431]: [Job 994] PID 10890 (gs) stopped with status 1! Sep 12 08:57:38 electron cupsd[10431]: [Job 994] PID 10891 (pstops) exited with no errors. Sep 12 08:57:38 electron cupsd[10431]: [Job 994] PID 10887 (/usr/lib/cups/filter/pdftops) stopped with status 1. Sep 12 08:57:38 electron cupsd[10431]: [Job 994] Hint: Try setting the LogLevel to "debug" to find out more. Sep 12 08:57:38 electron cupsd[10431]: [Job 994] HP PS filter ENDS Sep 12 08:57:38 electron cupsd[10431]: [Job 994] PID 10888 (/usr/lib/cups/filter/hpps) exited with no errors. Sep 12 08:57:38 electron cupsd[10431]: [Job 994] ready to print Sep 12 08:57:38 electron cupsd[10431]: [Job 994] PID 10889 (/usr/lib/cups/backend/hp) exited with no errors. Sep 12 08:57:38 electron cupsd[10431]: [Job 994] End of messages Sep 12 08:57:38 electron cupsd[10431]: [Job 994] printer-state=3(idle) Sep 12 08:57:38 electron cupsd[10431]: [Job 994] printer-state-message="ready to print" Sep 12 08:57:38 electron cupsd[10431]: [Job 994] printer-state-reasons=none Version-Release number of selected component (if applicable): see https://bugs.archlinux.org/task/59952 my version of ghostscript is below ... Description: Printing test page through CUPS has missing page content and in /var/log/cups/error_log: ``` D [05/Sep/2018:17:56:42 -0400] [Job 9] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find ps_gray.icc D [05/Sep/2018:17:56:42 -0400] [Job 9] + ./base/gsicc_manage.c:255: gsicc_initialize_iccsmask(): failed to load gray smask profile ``` Downgrading to ghostscript-9.23-2 fixes the issue. Happy to provide additional info / open a bug upstream if necessary. Pretty sure the CUPS indirection is unimportant; if someone dumps me a direct `gs` command which does the same, I can post output. Additional info: * ghostscript-9.24-2 Steps to reproduce: - add printer with cups. - cupsctl --debug-logging - less /var/log/cups/error_log root@electron# rpm -qa | grep ghostscript ghostscript-core-9.24-1.fc28.x86_64 ghostscript-x11-9.24-1.fc28.x86_64 ghostscript-9.24-1.fc28.x86_64 ghostscript-tools-fonts-9.24-1.fc28.x86_64 ghostscript-tools-printing-9.24-1.fc28.x86_64 root@electron# note this was updated last night. How reproducible: Steps to Reproduce: 1. reinstall printer - optional restart printer just for good measure. 2. print something - print test page, e.g. firefox http://www.google.com or print test page from system-config-printer gui. 3. view journalctl -u cups --since=today 4. when done $ su -c 'cupsctl --no-debug-logging' Actual results: print nothing Expected results: print as did yesterday before ghostscript upgrade Additional info: not sure how to downgrade ghostscript as suggested by arch linux bug blog solution above.
I checked that the firewall was not interfering with the printer. Not sure if this was done correctly. I was able to print "self test page" but not "test page" from system-config-printer. I removed the printer from system-config-printer and from HPLIP-gui and reinstalled in both. I re-downloaded and reinstalled the plugin. system-config-printer "test page" produces: HP LaserJet MFP M426fdw 3017 1 1 and the rest of the page is blank. but this demonstrates that it did communicate with the printer. If I point firefox to the IP address of the printer I see the printer webserver gui indicating I can communicate that way.
$ dnf downgrade ghostscript fixed the problem without screwing up anything else I hope. Now only problem is that $ dnf upgrade tries to reinstall it. This second problem could be fixed by using exclude=ghostscript* exclude=libgs* in the update configuration file. /etc/dnf/dnf.conf
Ghostscript's bug: https://bugs.ghostscript.com/show_bug.cgi?id=699722 Ghostscript's fix: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c8c01f8c4164 Looks like it's already fixed in rawhide, but not F28 yet: https://koji.fedoraproject.org/koji/buildinfo?buildID=1142734 Changelog * Fri Sep 07 2018 Tom Callaway <spot> - 9.24-2 - add upstream fix for reading in ICC profiles
also for me: dnf downgrade ghostscript (ghostscript x86_64 .23-1.fc28) fix the problem (as a workaround)
*** This bug has been marked as a duplicate of bug 1626818 ***
Please, try updating to ghostscript-9.24-3. It should fix your printing issues. https://bodhi.fedoraproject.org/updates/ghostscript-9.24-3.fc28 Let me know if the thing works for you (karma +/- 1 is welcomed).
I upgraded to testing ghostscript-9.24-3 and it fixed it immediately. Added karma + 1 thanks.