Thanks for the interest and input.
As said in my first post, everything worked fine a month ago. There have of course been a lot of upgrades to -current, since then, but cups-filters is the only obviously relevant package upgraded since then, and I've tried downgrading to the previous version - no difference. cups and ghostscript are the same as when printing last worked, as is the cnijfilter2 package (built from source with ponce's buildscript for current) which contains all relevant files including libcnbpcnclapicom2.so
The printer is definitely recognized and connected. In the print settings GUI I have a "Print Self-Test Page" button, hitting that produces a self-test printout. But if I hit the "Print Test Page" button (cups' own test page), printing stops after rendering.
I found another and probably more informative debug file in the /tmp folder:
https://pastebin.com/R6jbB4VU
Here's the lines that seem to be important, even if I can't figure out what to do.
Lines 1-2:
Code:
E [17/Sep/2021:12:31:27 +0200] [Job 127] Unable to open raster stream - : Broken pipe
E [17/Sep/2021:12:31:27 +0200] [Job 127] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
Lines 157-160:
Code:
D [17/Sep/2021:12:31:27 +0200] [Job 127] Last OS error: Broken pipe
D [17/Sep/2021:12:31:27 +0200] [Job 127] GPL Ghostscript 9.54.0: Unrecoverable error, exit code 1
D [17/Sep/2021:12:31:27 +0200] [Job 127] Rendering completed
D [17/Sep/2021:12:31:27 +0200] [Job 127] PID 8187 (/usr/lib64/cups/filter/gstoraster) stopped with status 1.
Don't know what the "Broken pipe" message means. Line 158 suggests a ghostscript related error, but ghostscript hasn't changed since printing worked a month ago.
I'll continue fiddling around, emptying /var/cache/cups and /var/spool/cups and maybe downgrade ghostscript.
Might be a driver issue, but the source file for my cnijfilter2 package is the latest available and again, it worked a month ago.