Every print attempt since the upgrade fails with "gstopxl filter failed."
More info: This is from the cups error log: D [11/Aug/2024:18:31:08 -0400] [Job 296] cfFilterGhostscript: Ghostscript using Any-Part-of-Pixel method to fill paths. D [11/Aug/2024:18:31:08 -0400] [Job 296] cfFilterGhostscript: Ghostscript command line: gs -dQUIET -dSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dUsePDFX3Profile -sstdout=%stderr -sOutputFile=%stdout -dDuplex -r600x600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDEVICE=pxlmono -scupsBackSideOrientation=Normal -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 [11/Aug/2024:18:31:08 -0400] [Job 296] cfFilterGhostscript: Started Ghostscript (PID 142918) D [11/Aug/2024:18:31:08 -0400] [Job 296] cfFilterGhostscript: Started logging (PID 142919) D [11/Aug/2024:18:31:08 -0400] [Job 296] hrDeviceDesc=\"HP Color LaserJet M553\" D [11/Aug/2024:18:31:08 -0400] [Job 296] prtMarkerColorantValue.1.1 = \"black\" D [11/Aug/2024:18:31:08 -0400] [Job 296] cfFilterGhostscript: Unrecoverable error: undefined in .putdevicepropsOperand stack: D [11/Aug/2024:18:31:08 -0400] [Job 296] cfFilterGhostscript: .putdeviceprops --nostringval-- unknownerror D [11/Aug/2024:18:31:08 -0400] [Job 296] prtMarkerColorantValue.1.2 = \"cyan\" D [11/Aug/2024:18:31:08 -0400] [Job 296] Set job-printer-state-message to "cfFilterGhostscript: write failed: Broken pipe", current level=ERROR D [11/Aug/2024:18:31:08 -0400] [Job 296] PID 142912 (/usr/libexec/cups/filter/gstopxl) stopped with status 1.
Here is a PDF document that reliably triggers this bug: https://www.rki.de/DE/Content/Infekt/EpidBull/Archiv/2024/Ausgaben/02_24.pdf?__blob=publicationFile It is from a German public web site. Trying to print just page 3 from the document using GNOME desktop and evince creates the following error in the CUPS jobs administration: Status angehalten "cfFilterGhostscript: write failed: Broken pipe" ("angehalten" is German for "stopped") My GNOME desktop enviroment is stable, updated today (but the bug has been present for at least a week, and I remember seeing it several weeks ago)
Could you both share the output of: emerge -pvO net-print/cups-meta net-print/cups net-print/cups-filters net-print/libcupsfilters app-text/ghostscript-gpl? Thanks.
The problem disappears (the page prints) when I switch from grayscale to color printing (in the GNOME printing dialog, tab "Color"). Unfortunately, for my printer HP_ColorLaserJet_MFP_M278-M281 I bought a high capacity B+W toner cartridge, but smaller colour toner cartridges (cyan/magenta/yellow) that are significantly more expensive per page. So I would like for my printer to work in grayscale mode also (the color in the test document I referenced seems to be mostly decorative and not to carry significant information).
As requested, the output of the "emerge" command given above: # emerge -pvO net-print/cups-meta net-print/cups net-print/cups-filters net-print/libcupsfilters app-text/ghostscript-gpl These are the packages that would be merged, in order: [ebuild R ] net-print/cups-meta-1::gentoo USE="browsed foomatic pdf poppler postscript -zeroconf" 0 KiB [ebuild R ] net-print/cups-2.4.11::gentoo USE="X acl dbus pam usb -debug -kerberos -openssl (-selinux) -static-libs -systemd -test -xinetd -zeroconf" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild R ] net-print/cups-filters-2.0.1::gentoo USE="foomatic" 0 KiB [ebuild R ] net-print/libcupsfilters-2.1.0::gentoo USE="dbus exif jpeg pdf png poppler postscript tiff -test" 0 KiB [ebuild R ] app-text/ghostscript-gpl-10.03.1:0/10.03::gentoo USE="X cups dbus gtk (unicode) -static-libs" L10N="de (-ja) -ko -zh-CN -zh-TW" 0 KiB Total: 5 packages (5 reinstalls), Size of downloads: 0 KiB
sudo emerge -pvO net-print/cups-meta net-print/cups net-print/cups-filters net-print/libcupsfilters app-text/ghostscript-gpl These are the packages that would be merged, in order: [ebuild R ] net-print/cups-meta-1::gentoo USE="browsed foomatic pdf poppler postscript -zeroconf" 0 KiB [ebuild R ] net-print/cups-2.4.11::gentoo USE="X acl dbus pam systemd usb -debug -kerberos -openssl (-selinux) -static-libs -test -xinetd -zeroconf" ABI_X86="32 (64) (-x32)" 0 KiB [ebuild R ] net-print/cups-filters-2.0.1::gentoo USE="foomatic" 0 KiB [ebuild R ] net-print/libcupsfilters-2.1.0::gentoo USE="dbus exif jpeg pdf png poppler postscript tiff -test" 0 KiB [ebuild R ] app-text/ghostscript-gpl-10.03.1:0/10.03::gentoo USE="X cups dbus gtk (unicode) -static-libs" L10N="-de (-ja) -ko -zh-CN -zh-TW" 0 KiB
note: I worked around this issue by installing hplip which has a driver that works