You are not logged in.
Hi, I'm new.
I'm trying to use Canon LBP6020B printer. I've installed CUPS and Canon CAPT. The problem is the printer is not working. I'm printing from the brave browser with Ctrl+P, if it matters.
first I checked the jobs list and it said: "cfFilterChain: pdftops (PID 14193) exited with no errors."
Then I ran lsusb and here's the output:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 1bcf:2c54 Sunplus Innovation Technology Inc. HD WebCam
Bus 001 Device 005: ID 0489:e078 Foxconn / Hon Hai
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubThe output doesn't change when I unplug the printer's USB so the printer is clearly not being detected.
Last edited by nik0la (2026-07-18 21:14:36)
Offline
Did you read https://wiki.archlinux.org/title/Canon_CAPT ?
What's the printer status?
Online
captstatusui isn't working proprely it says
(captstatusui:16443): Gtk-WARNING **: 01:02:32.260: cannot open display: I don't know any other way to check
Offline
You'll probably need xwayland (or an X11 session) - "sudo ccpdadmin status" should™ work regardless.
Online
CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787
Entry Num : Spooler : Backend : FIFO path : Device Path : Status
----------------------------------------------------------------------------
[0] : printer : ccp : //localhost:59787 : /dev/usb/lp0 :
[1] : LBP6020B : ccp : //localhost:59787 : /dev/usb/lp0 :
[2] : LBP6020 : ccp : //localhost:59687 : /dev/usb/lp1 : This is the output. I added 3 printers with different tweaks in hopes that one of them would work.
Offline
ss -tulpen | grep -E '59.87'
stat dev/usb/lp*If you run
dmesg -Wand attach the printer (and power it on) - what tail does that generate?
Online
On the first one it says
stat: cannot statx 'dev/usb/lp*': No such file or directoryOn dmesg -W it says:
[ 651.519431] usb 1-2.3: new high-speed USB device number 6 using xhci_hcd
[ 651.707600] usb 1-2.3: New USB device found, idVendor=04a9, idProduct=2771, bcdDevice= 1.00
[ 651.707641] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 651.707662] usb 1-2.3: Product: Canon CAPT USB Device
[ 651.707679] usb 1-2.3: Manufacturer: Canon
[ 651.707694] usb 1-2.3: SerialNumber: 0000A1D62ANS
[ 651.792143] usblp 1-2.3:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04A9 pid 0x2771Last edited by nik0la (2026-07-18 08:01:18)
Offline
You'd expect that to
1. appear in lsusb
2. generate "/dev/usb/lp0" (I typo'd away the initial slash and you didn't pick up on that, so re-ceck)
Online
Moderator Note
moving to AUR Issues, Discussion & PKGBUILD Requests
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
You'd expect that to
1. appear in lsusb
Yeah it did now
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 1bcf:2c54 Sunplus Innovation Technology Inc. HD WebCam
Bus 001 Device 005: ID 0489:e078 Foxconn / Hon Hai
Bus 001 Device 007: ID 04a9:2771 Canon, Inc. LBP6020
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubThe Canon printer appeared.
2. generate "/dev/usb/lp0" (I typo'd away the initial slash and you didn't pick up on that, so re-ceck)
I redid the command without the typo
stat /dev/usb/lp*and it did have an output this time
File: /dev/usb/lp0
Size: 0 Blocks: 0 IO Block: 4096 character special file
Device: 0,7 Inode: 744 Links: 1 Device type: 180,0
Access: (0660/crw-rw----) Uid: ( 0/ root) Gid: ( 989/ lp)
Access: 2026-07-18 11:57:16.284948966 +0400
Modify: 2026-07-18 11:57:16.284948966 +0400
Change: 2026-07-18 11:57:16.284948966 +0400
Birth: 2026-07-18 11:57:16.265948967 +0400There are new printers named "LBP6020-2" and "LBP6020-3" I registered them both with the commands:
sudo ccpdadmin -p LBP6020-2 -o /dev/usb/lp0
sudo ccpdadmin -p LBP6020-3 -o /dev/usb/lp0When I try to print from those it still doesn't print for some reason. It says that the job is completed but the printer isn't doing anything.
When I run captstatusui -P LBP6020 (it works now) the window says
Message:
Communication ErrorCheck the following:
- Is the printer turned on?
- Is the cable properly connected?I checked on the LBP6020-2 and LBP6020-3, when I'm not printing something the Message says sleeping but when I try to print something it says the same thing as above.
Last edited by nik0la (2026-07-18 10:11:58)
Offline
When I run captstatusui -P LBP6020 (it works now) the window says
[2] : LBP6020 : ccp : //localhost:59687 : /dev/usb/lp1 :Wrong device? What about "LBP6020B"?
Other than that: https://wiki.archlinux.org/title/CUPS/T … #Debug_log
Don't forget to restart cups, try to print something and post the log.
Online
Wrong device? What about "LBP6020B"?
The printer is seen as LBP6020. When I run lsusb this is how the printer shows up:
Bus 001 Device 006: ID 04a9:2771 Canon, Inc. LBP6020I checked it here when I first started setting this up: https://wiki.archlinux.org/title/CUPS/P … lems#Canon
There is no LBP6020B listed anywhere, only LBP6020, so I just ran with it.
Other than that: https://wiki.archlinux.org/title/CUPS/T … #Debug_log
Don't forget to restart cups, try to print something and post the log.
The log is almost 1000 lines from before printing to after, should I post it all or should I post a specific section? Or am I using the log incorrectly?
Offline
There is no LBP6020B listed anywhere
https://bbs.archlinux.org/viewtopic.php … 4#p2304864
You created it and the one you're using points at the (non-existing, I assume) lp1
should I post it all
Yes, see the 1st link below
Online
https://bbs.archlinux.org/viewtopic.php … 4#p2304864
You created it and the one you're using points at the (non-existing, I assume) lp1
Yup, I deleted those three you see on that post. LBP6020-2 and LBP6020-3 got created automatically so I trust those more, they point at the lp0
Entry Num : Spooler : Backend : FIFO path : Device Path : Status
----------------------------------------------------------------------------
[0] : LBP6020-2 : usb : //Canon/LBP6020?serial=0000A1D62ANS : /dev/usb/lp0 :
[1] : LBP6020-3 : usb : //Canon/LBP6020?serial=0000A1D62ANS : /dev/usb/lp0 : Yes, see the 1st link below
https://paste.c-net.org/HersheyApology
Last edited by nik0la (2026-07-18 17:21:21)
Offline
D [18/Jul/2026:20:34:40 +0400] [Job 48] pstocapt3 (application/vnd.cups-postscript to printer/LBP6020-2, cost 0)
…
D [18/Jul/2026:20:34:47 +0400] [Job 48] Sent 64952 bytes...
D [18/Jul/2026:20:34:47 +0400] [Job 48] Waiting for read thread to exit...
D [18/Jul/2026:20:34:47 +0400] [Job 48] PID 11219 (/usr/lib/cups/filter/pstocapt3) exited with no errors.
…
D [18/Jul/2026:20:34:54 +0400] [Job 48] Read thread still active, aborting the pending read...
D [18/Jul/2026:20:34:55 +0400] [Job 48] PID 11220 (/usr/lib/cups/backend/usb) exited with no errors.On the cups side everything's "fine", pstocapt3 finishes but it just gives up after ~7s waiting for a response from the usb.
captstatusui -P LBP6020-2ss -tulpen | grep -E '59.87'
Online
did this
captstatusui -P LBP6020-2and status monitor said message: sleeping
and then did this again
ss -tulpen | grep -E '59.87'nothing changed on the status monitor
it still says Communication Error when I try to print.
Offline
nothing changed on the status monitor
The command queries the listening sockets and filters them for some ports - it won't do anything but I'm curious about the output.
Online
Oh sorry forgot to post that even though I reminded myself to do so
Here's the output:
tcp LISTEN 0 64 0.0.0.0:59787 0.0.0.0:* ino:8067 sk:1001 cgroup:/system.slice/ccpd.service <->
tcp LISTEN 0 64 0.0.0.0:59687 0.0.0.0:* ino:8066 sk:1002 cgroup:/system.slice/ccpd.service <-> Offline
It's actually listening on both ports, but the autogenerated (?) printers are on //Canon/LBP6020?serial=0000A1D62ANS
Have you tried adding one on //localhost:59787 or //localhost:59687 ?
Online
Have you tried adding one on //localhost:59787 or //localhost:59687 ?
The ones I added manually actually had those. one was using 59787 and the other 59687.
I'll try adding one manually again.
Offline
Added a printer manually and it works now. thanks for your help.
I should add "[SOLVED]" now right?
Last edited by nik0la (2026-07-18 21:54:13)
Offline