OpenPrinting / cups-filters

filters, backends, driverless utility, ... - Everything which CUPS 2.x needs to be used on non-Mac systems
Apache License 2.0
157 stars 126 forks source link

[LPD] filter failed with Canon ImageRunner Advanced series #474

Closed Germano0 closed 1 year ago

Germano0 commented 2 years ago

I have been experiencing this problem with various Canon ImageRunner Advanced series printers and various Fedora machines. Everythime I try to print any kind of file (for example pdf, jpg, odt), the system returns filter failed error. I attached full CUPS debug logs: cups-filter_failed.txt

How I reproduce the problem in my use case where the printer is a Canon iR-ADV C5535 III:

System specs:

zdohnal commented 2 years ago

Hi Germano,

from the logs:

lug 14 12:03:24 machine cupsd[515617]: [Job 12] Starting renderer with command: \"/bin/cat - | sicgsfilter -MPS -NP  -xV1 -A1 -uuser -V\"test.pdf\" -n1 \"
lug 14 12:03:24 machine cupsd[515617]: [Job 12] Starting process \"kid3\" (generation 1)
lug 14 12:03:24 machine cupsd[515617]: [Job 12] Starting process \"kid4\" (generation 2)
lug 14 12:03:24 machine cupsd[515617]: [Job 12] Starting process \"renderer\" (generation 2)
lug 14 12:03:24 machine cupsd[515617]: [Job 12] JCL: \033%-12345X@PJL
lug 14 12:03:24 machine cupsd[515617]: [Job 12] <job data>
lug 14 12:03:24 machine cupsd[515617]: [Job 12] /bin/bash: riga 1: sicgsfilter: comando non trovato
lug 14 12:03:24 machine cupsd[515617]: [Job 12] renderer exited with status 127

The Canon driver expects sicgsfilter binary on your machine, but there is no such filter at least on Fedora. Ask Canon support to provide you the binary or, the better, try driverless printing instead of lpd backend+driver (enabling IPP and HTTP suffices on the printer, then enable IPP in your machine's firewall) - according https://support.apple.com/en-us/HT201311 the device should support AirPrint.

Once you enable the prereq, you can install your printer by:

$ lpadmin -p 10-1003-CANC3 -v ipp://10-1003-CANC3.print.cern.ch:631/ipp/print -m everywhere -E
tangyanli commented 2 years ago

The Canon driver expects sicgsfilter binary on your machine, but there is no such filter at least on Fedora.

The sicgsfilter file is in the package Cque_Linux_Driver_4.09_64_EN.rpm, you can use command # rpm -i Cque_Linux_Driver_4.09_64_EN.rpm to install it.

Germano0 commented 2 years ago

You are right. Installing the Canon RPM file that contains the sicgsfilter executable fixed the problem. I apologize for having opened this ticket. Best regards

tillkamppeter commented 1 year ago

Already solved, closing ...