HP 2300n cannot print in b/w "filter failed"

After upgrading to Leap 15.1 and upgrading HPLIP to current version, I get “filter failed” message when I try to print
in greyscale mode on HPLaserjet 2600N printer.
Works fine with color mode.

Did this problem only manifest with the HPLIP upgarde? Some further diagnostics may be needed here. Put CUPS into debug mode (more reporting verbosity) with

sudo cupsctl --debug-logging

then watch the CUPS error_log

sudo tail -f /var/log/cups/error_log

and attempt a greyscale print job. Hopefully, you’ll capture some meaningful error messages that might help determine the underlying cause.

If you need to share that lengthy output, consider uploading to https://paste.opensuse.org/ and share the link that it provides here.

Also, let’s examine the PPD file…

grep -i gr[ae]y /etc/cups/ppd/*

…and the configured driver…

egrep -i "name|model|filter" /etc/cups/ppd/*

[Worked on previous Leap with corresponding HPLIP (can’t remember version)
Current HPLIP is 3.19.11
CUPS log is at:

https://paste.opensuse.org/80811575](https://paste.opensuse.org/80811575)

Thanks for posting the requested error_log. Please also follow up with requests from posts #3 and #4 as well.

I would also like to see the printer URI defined in /etc/cups/printers.conf. You can do that using

lpstat -t

The error_log you shared reports

[Job 622] envp[23]="DEVICE_URI=dnssd://HP%20Color%20LaserJet%202600n._pdl-datastream._tcp.local/"

whereas I would expect to see a URI that looks more like 'hp:/net/hp:/usb/HP_Color_LaserJet_2600n?ip=…", although that may not be impacting here.

Apart from that the error_log doesn’t show any processing errors with the filters…

D [29/Dec/2019:14:46:42 -0400] [Job 622] 3 filters for job:
D [29/Dec/2019:14:46:42 -0400] [Job 622] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [29/Dec/2019:14:46:42 -0400] [Job 622] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [29/Dec/2019:14:46:42 -0400] [Job 622] hpcups (application/vnd.cups-raster to printer/hp_laserjet, cost 0)

The filters start…

I [29/Dec/2019:14:46:42 -0400] [Job 622] Started filter /usr/lib/cups/filter/pdftopdf (PID 23575)
I [29/Dec/2019:14:46:42 -0400] [Job 622] Started filter /usr/lib/cups/filter/gstoraster (PID 23576)
I [29/Dec/2019:14:46:42 -0400] [Job 622] Started filter /usr/lib/cups/filter/hpcups (PID 23577)
I [29/Dec/2019:14:46:42 -0400] [Job 622] Started backend /usr/lib/cups/backend/dnssd (PID 23578)

but I don’t see where they exit as expected. There should be further entries in the log showing whether they completed ok or not.

The driver and PPD files
https://paste.opensuse.org/78831218

Ok, that checks out as expected. Where is the ‘lpstat -t’ output?

Sorry about that. Here it is:
lpstat -t
scheduler is running
no system default destination
device for hp_inkjet: ipp://HP1062E5FB54DE.local:631/ipp/print
device for hp_laserjet: dnssd://HP%20Color%20LaserJet%202600n._pdl-datastream._tcp.local/
hp_inkjet accepting requests since Wed 18 Dec 2019 08:47:27 PM AST
hp_laserjet accepting requests since Sun 29 Dec 2019 02:58:16 PM AST
printer hp_inkjet is idle. enabled since Wed 18 Dec 2019 08:47:27 PM AST
printer hp_laserjet is idle. enabled since Sun 29 Dec 2019 02:58:16 PM AST

Ok, I recommend changing the printer URI. Use ‘hp-setup’ to do this.
https://en.opensuse.org/SDB:How_to_set-up_a_HP_printer

Still cannot print b/w.

I suggest submitting a bug report then.