Bug 1628845

Summary: printing to a "HP LaserJet CP1525nw" results in "Filter failed"-message in cups
Product: [Fedora] Fedora Reporter: Rudolf E. Steiner <res-1>
Component: ghostscriptAssignee: David Kaspar // Dee'Kej <deekej>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 28CC: deekej, res-1, twaugh, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-14 13:48:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rudolf E. Steiner 2018-09-14 07:39:26 UTC
Printing to a "HP LaserJet CP1525nw" results in a "Filter failed"-message in cups.

Used driver: "HP LaserJet CP1520 Series Postscript (recommended)"

Output of "journalctl -u cups -e" after sending a testpage via cups:

----- begin -----
cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Printing jobs and di>
[Client 1] Read: status=200, state=6
[Client 1] No authentication data provided.
[Client 1] 1.1 Get-Jobs 125
Get-Jobs ipp://res@localhost:631/printers/
[Client 1] Returning IPP successful-ok for Get-Jobs (ipp://res@localhost:631/printers/) from localhost
[Client 1] Content-Length: 468
[Client 1] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
[Client 1] con->http=0x564fbf404fa0
[Client 1] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LE>
[Client 1] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
[Client 1] bytes=0, http_state=0, data_remaining=468
[Client 1] Flushing write buffer.
[Client 1] New state is HTTP_STATE_WAITING
[Client 1] Waiting for request.
cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and di>
[Client 1] POST / HTTP/1.1
cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Printing jobs and di>
[Client 1] Read: status=200, state=6
[Client 1] No authentication data provided.
[Client 1] 1.1 Get-Jobs 126
Get-Jobs ipp://res@localhost:631/printers/
[Client 1] Returning IPP successful-ok for Get-Jobs (ipp://res@localhost:631/printers/) from localhost
[Client 1] Content-Length: 468
[Client 1] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
[Client 1] con->http=0x564fbf404fa0
[Client 1] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LE>
[Client 1] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
[Client 1] bytes=0, http_state=0, data_remaining=468
[Client 1] Flushing write buffer.
[Client 1] New state is HTTP_STATE_WAITING
[Client 1] Waiting for request.
cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and di>
[Job 1593] PID 4811 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
[Job 1593] Printer make and model: HP HP LaserJet CP1528nw
[Job 1593] Running command line for pstops: pstops 1593 anonymous \'Test Page\' 1 \'job-uuid=urn:uuid:d>
[Job 1593] Using image rendering resolution 600 dpi
[Job 1593] Running command line for gs: gs -q -dNOPAUSE -dBATCH -dSAFER -dNOMEDIAATTRS -sDEVICE=ps2writ>
[Job 1593] Started filter gs (PID 4815)
[Job 1593] Started filter pstops (PID 4816)
[Job 1593] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find ps_gray.icc
[Job 1593] + ./base/gsicc_manage.c:255: gsicc_initialize_iccsmask(): failed to load gray smask profile
[Job 1593] Page = 595x842; 12,12 to 583,830
[Job 1593] slow_collate=0, slow_duplex=0, slow_order=0
[Job 1593] This document does not conform to the Adobe Document Structuring Conventions and may not pri>
Expiring subscriptions...
[Job 1593] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_rgb.icc
[Job 1593] | ./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile
Expiring subscriptions...
[Job 1593] GPL Ghostscript 9.24: Unrecoverable error, exit code 1
[Job 1593] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_gray.icc
[Job 1593] | ./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile
[Job 1593] Read 1362 bytes of print data...
----- end -----

Comment 1 Rudolf E. Steiner 2018-09-14 07:52:52 UTC
Installed version of ghostscript:

ghostscript-9.24-1.fc28.x86_64

Comment 2 David Kaspar // Dee'Kej 2018-09-14 13:48:30 UTC

*** This bug has been marked as a duplicate of bug 1626818 ***

Comment 3 David Kaspar // Dee'Kej 2018-09-14 13:57:04 UTC
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).

Comment 4 Rudolf E. Steiner 2018-09-15 06:18:44 UTC
The reported problem is solved with "ghostscript-9.24-3.fc2[8-9]".