Printer "Filter failed" on previously working printer

I have had a Canon PIXMA G6000 printer working for a long time.

After a recent update, I now get “Filter failed” message when attempting to print. I update regularly and don’t print regularly, so didn’t note when this started.

The AUR package Canon-pixma-G6000-complete 5.90 was/is in use. But this appears to be some change to CUPS that started this.

FWIW, the same Canon driver seems to work fine under Debian and Ubuntu.

The only references I’ve found about the filter failed are quite old and, typically about HP printers.

Typical error from /var/log/cups/error_log
E [02/Jun/2025:10:16:03 -0400] [Job 346] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
D [02/Jun/2025:10:16:03 -0400] [Job 346] /usr/bin/tocnpwg: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
D [02/Jun/2025:10:16:03 -0400] [Job 346] cfFilterChain: pdftopdf (PID 35098) exited with no errors.
D [02/Jun/2025:10:16:03 -0400] [Job 346] Set job-printer-state-message to "cfFilterChain: pdftopdf (PID 35098) exited with no errors.", current level=INFO
D [02/Jun/2025:10:16:03 -0400] [Job 346] [rastertocanonij] pstocanonij write error,32.
D [02/Jun/2025:10:16:03 -0400] [Job 346] PID 35089 (/usr/lib/cups/filter/rastertocanonij) stopped with status 255 (Unknown error 155)
D [02/Jun/2025:10:16:03 -0400] [Job 346] cfFilterGhostscript: Ghostscript (PID 35100) exited with no errors.
D [02/Jun/2025:10:16:03 -0400] [Job 346] cfFilterGhostscript: Logging (PID 35101) exited with no errors.
D [02/Jun/2025:10:16:03 -0400] [Job 346] cfFilterChain: ghostscript (PID 35099) exited with no errors.
D [02/Jun/2025:10:16:03 -0400] [Job 346] PID 35088 (/usr/lib/cups/filter/universal) exited with no errors.
D [02/Jun/2025:10:16:03 -0400] [Job 346] PID 35090 (/usr/lib/cups/backend/socket) exited with no errors.
E [02/Jun/2025:10:19:01 -0400] [Job 347] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
D [02/Jun/2025:10:19:01 -0400] [Job 347] /usr/bin/tocnpwg: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
D [02/Jun/2025:10:19:01 -0400] [Job 347] cfFilterChain: pdftopdf (PID 35291) exited with no errors.
D [02/Jun/2025:10:19:01 -0400] [Job 347] Set job-printer-state-message to "cfFilterChain: pdftopdf (PID 35291) exited with no errors.", current level=INFO
D [02/Jun/2025:10:19:01 -0400] [Job 347] [rastertocanonij] pstocanonij write error,32.
D [02/Jun/2025:10:19:01 -0400] [Job 347] PID 35286 (/usr/lib/cups/filter/rastertocanonij) stopped with status 255 (Unknown error 155)
D [02/Jun/2025:10:19:01 -0400] [Job 347] cfFilterGhostscript: Ghostscript (PID 35293) exited with no errors.
D [02/Jun/2025:10:19:01 -0400] [Job 347] cfFilterGhostscript: Logging (PID 35294) exited with no errors.
D [02/Jun/2025:10:19:01 -0400] [Job 347] cfFilterChain: ghostscript (PID 35292) exited with no errors.
D [02/Jun/2025:10:19:01 -0400] [Job 347] PID 35285 (/usr/lib/cups/filter/universal) exited with no errors.
D [02/Jun/2025:10:19:01 -0400] [Job 347] PID 35287 (/usr/lib/cups/backend/socket) exited with no errors.
D [02/Jun/2025:10:19:01 -0400] [Job 347] printer-state-message="cfFilterChain: ghostscript (PID 35292) exited with no errors."
E [02/Jun/2025:10:26:52 -0400] [Client 22] Returning IPP client-error-not-possible for CUPS-Add-Modify-Printer (ipp://mac@localhost:631/printers/CanonG6000) from localhost.

Operating System: Manjaro Linux
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-2-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M
Manufacturer: System76, Inc.
Product Name: Serval WS
System Version: serw9


Mod edit:- Please provide inxi output for system information in preference to any other source when requesting Support.

Hi @drmacro,

Is everything else on you computer working OK? Because I think this has something to do with it and that would cause quite a bit of problems.

I guess you need to rebuild the canon driver again. Or install libxml2-legacy.

4 Likes

@Mirdarthos I have not had other problems (other than no apps were able to print).

@megavolt I had rebuilt the driver to no avail.

But, I have now installed libxml2-legacy on both PC’s where this was an issue and can now print.

Thanks to all!

For continued reference:

System Information

While information from *-fetch type apps might be fine for someone wishing to buy your computer, for Support purposes it’s better to ask your system directly; :eyes:

Output of the inxi command with appropriate parameters will achieve this (naturally, formatted according to forum guidelines) and will generally be more useful for those wishing to help:

inxi --filter --verbosity=8

or the short form:

inxi -zv8

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.