hello i am trying to get old Canon laser printer working.
it is not my first frustrating encounter with this printer --i was using it about a year or two ago when i was Ubuntu user yet.
it had printed ten or so pages and after a several days has stopped accepting jobs then i had given up after totally getting out of my hair trying to fix it.
it is iSensys LBP6020 [CAPT-only model] --today i have tried CUPS web interface, CLI tools, GTK settings manager, then i have scanned through Arch and Gentoo wikis [i use OpenRC]
...nothing can get it working --i have "Filter failed" in CUPS web interface.
here is a log:
/var/log/cups/error_log
W [21/Mar/2023:08:41:32 +0200] CreateProfile failed: org.freedesktop.DBus.Error.Spawn.ChildExited:Launch helper exited with unknown return code 1
W [21/Mar/2023:08:41:32 +0200] CreateDevice failed: org.freedesktop.DBus.Error.Spawn.ChildExited:Launch helper exited with unknown return code 1
E [21/Mar/2023:08:42:10 +0200] [Job 1] ccp send_data error, exit
W [21/Mar/2023:08:42:10 +0200] [Job 1] Backend returned status 1 (failed)
discussion at AUR capt-src mentioned this particular model in a post from 2020 [maybe it was related to my CAPT setup crashing back then] --he or she mentioned ghostscript must be downgraded to 9.52-1 to make it working again.
i have done it today too but nothing has changed:
W [21/Mar/2023:07:07:49 +0200] CreateProfile failed: org.freedesktop.DBus.Error.Spawn.ChildExited:Launch helper exited with unknown return code 1
W [21/Mar/2023:07:07:49 +0200] CreateDevice failed: org.freedesktop.DBus.Error.Spawn.ChildExited:Launch helper exited with unknown return code 1
[2023-03-21T07:53:19+0200] [PACMAN] Running 'pacman -U https://archive.archlinux.org/packages/g/ghostscript/ghostscript-9.52-1-x86_64.pkg.tar.zst'
[2023-03-21T07:53:49+0200] [ALPM] transaction started
[2023-03-21T07:53:49+0200] [ALPM] downgraded ghostscript (10.0.0-6 -> 9.52-1)
[2023-03-21T07:53:50+0200] [ALPM] transaction completed
W [21/Mar/2023:07:57:34 +0200] CreateProfile failed: org.freedesktop.DBus.Error.Spawn.ChildExited:Launch helper exited with unknown return code 1
W [21/Mar/2023:07:57:34 +0200] CreateDevice failed: org.freedesktop.DBus.Error.Spawn.ChildExited:Launch helper exited with unknown return code 1
i have found these checkpoints in article at Arch wiki on HP issues
web-interface:
ID Name User Size Pages State
LBP6020-1 Unknown Withheld 1k Unknown pending since
Tue 21 Mar 2023 08:42:10 AM EET
"Filter failed"
now i am deleting it and re-adding via CLI:
sov-x550cc:[root]:/home/sov-thade-tage# /etc/init.d/cupsd status
* status: started
sov-x550cc:[root]:/home/sov-thade-tage# /usr/bin/lpadmin -p LBP6020 -m CNCUPSLBP6020CAPTK.ppd -v ccp://localhost:59687 -E
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
sov-x550cc:[root]:/home/sov-thade-tage# /usr/bin/ccpdadmin -p LBP6020 -o /dev/usb/lp0
CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787
Entry Num : Spooler : Backend : FIFO path : Device Path : Status
----------------------------------------------------------------------------
[0] : getmore : : : /dev/usb/lp0 : invalid Spool Name
[1] : LBP6020 : ccp : //localhost:59687 : /dev/usb/lp0 : Modified
sov-x550cc:[root]:/home/sov-thade-tage# ccpdadmin -x getmore
# [getmore was a name made through web interface, it was not removed upon the next deletion. (sov thade tage)]
CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787
Entry Num : Spooler : Backend : FIFO path : Device Path : Status
----------------------------------------------------------------------------
[0] : getmore : : : /dev/usb/lp0 : Delete
[1] : LBP6020 : ccp : //localhost:59687 : /dev/usb/lp0 :
sov-x550cc:[root]:/home/sov-thade-tage# /usr/bin/ccpd status
sov-x550cc:[root]:/home/sov-thade-tage# /usr/bin/ccpd start
sov-x550cc:[root]:/home/sov-thade-tage# /usr/bin/ccpd status
sov-x550cc:[root]:/home/sov-thade-tage# ps awx | grep ccpd
5662 ? Ss 0:00 /usr/bin/ccpd status
5663 ? S 0:00 /usr/bin/ccpd status
5674 ? Ss 0:00 /usr/bin/ccpd start
5675 ? S 0:00 /usr/bin/ccpd start
5685 ? Ss 0:00 /usr/bin/ccpd status
5686 ? S 0:00 /usr/bin/ccpd status
5726 pts/0 S+ 0:00 grep --colour=auto ccpd
sov-x550cc:[root]:/home/sov-thade-tage# /usr/bin/captstatusui -P LBP6020
# [running "Cleaning..." then terminating popup window "LBP6020", initially it shows "Sleeping" surely. (sov thade tage)]
(captstatusui:5745): GLib-CRITICAL **: 10:11:45.413: Source ID 12 was not found when attempting to remove it
sov-x550cc:[root]:/home/sov-thade-tage#
here is the RESULT:
LBP6020
LBP6020 (Paused, Accepting Jobs, Not Shared)
Description: LBP6020
Location:
Driver: Canon LBP6020 CAPT (UK) (grayscale)
Connection: ccp://localhost:59687
Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sided
Jobs
Active jobs listed in processing orderâ–Ľ; held jobs appear first.
ID Name User Size Pages State
LBP6020-2 Test Page anonymous 1k Unknown pending since
Tue 21 Mar 2023 10:39:34 AM EET
"Filter failed"
...so no i am not "Withheld" but "anonymous".
GREAT!!!