Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ghostscript stopped with status 255 #6200

Open
lukaswu-orig opened this issue May 14, 2024 · 0 comments
Open

Ghostscript stopped with status 255 #6200

lukaswu-orig opened this issue May 14, 2024 · 0 comments

Comments

@lukaswu-orig
Copy link

Hello,
my cups stopped printing and after poking here and there, the best I could find is (excerpt from cupsd logs in debug mode):

D [13/May/2024:13:52:29 +0200] [Job 2711] PID 14211 (/usr/lib64/cups/filter/universal) exited with no errors.
D [13/May/2024:13:52:29 +0200] [Job 2711] cfFilterGhostscript: Input format: PDF
D [13/May/2024:13:52:29 +0200] [Job 2711] Color space requested: Default
D [13/May/2024:13:52:29 +0200] [Job 2711] Final output format: CUPS Raster
D [13/May/2024:13:52:29 +0200] [Job 2711] Print rendering intent = auto
D [13/May/2024:13:52:29 +0200] [Job 2711] Color Manager: Calibration Mode/Off
D [13/May/2024:13:52:29 +0200] [Job 2711] Calling FindDeviceById(cups-Xerox_Phaser_3250)
D [13/May/2024:13:52:29 +0200] [Job 2711] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [13/May/2024:13:52:29 +0200] [Job 2711] Failed to get find device cups-Xerox_Phaser_3250
D [13/May/2024:13:52:29 +0200] [Job 2711] Calling FindDeviceById(cups-Xerox_Phaser_3250)
D [13/May/2024:13:52:29 +0200] [Job 2711] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [13/May/2024:13:52:29 +0200] [Job 2711] Failed to get device cups-Xerox_Phaser_3250
D [13/May/2024:13:52:29 +0200] [Job 2711] Color Manager: ICC Profile: None
D [13/May/2024:13:52:29 +0200] [Job 2711] cfFilterGhostscript: Ghostscript using Any-Part-of-Pixel method to fill paths.
D [13/May/2024:13:52:29 +0200] [Job 2711] cfFilterGhostscript: Ghostscript command line: gs -dQUIET -dSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dUsePDFX3Profile -sstdout=%stderr -sOutputFile=%stdout -r600x600 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=84
2 -sDEVICE=pxlmono -dcupsManualCopies -I/usr/share/cups/fonts -sOutputICCProfile=srgb.icc -c '<</.HWMargins[11.990551 11.990551 11.990540 11.990540] /Margins[0 0]>>setpagedevice' -f -_
D [13/May/2024:13:52:29 +0200] [Job 2711] cfFilterGhostscript: Started Ghostscript (PID 14219)
D [13/May/2024:13:52:29 +0200] [Job 2711] cfFilterGhostscript: Started logging (PID 14220)
D [13/May/2024:13:52:29 +0200] [Job 2711] cfFilterGhostscript: Input data feed completed
D [13/May/2024:13:52:29 +0200] [Job 2711] cfFilterGhostscript: Unrecoverable error: undefined in .putdevicepropsOperand stack:
D [13/May/2024:13:52:29 +0200] [Job 2711] cfFilterGhostscript: .putdeviceprops --nostringval-- unknownerror
E [13/May/2024:13:52:29 +0200] [Job 2711] cfFilterGhostscript: Ghostscript (PID 14219) stopped with status 255

After checking with GS folks, they told me:
'You can't use an sRGB ICC profile with a monochrome device (pxlmono), the colour spaces are not the same. If the device were pxlcolor (an RGB device) then that would work but for a monochrome device you need to use a Gray ICC profile. The sgray.icc profile would work for example.'

Could you tell me how to modify that or probably this is something that should be upstreamed into the project?

Thank you.

Lukas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant