Printer Driver for LBP2900

Hey everyone !!
I have a printer but I have no idea of how can I install the printer driver in linux can anyone help me…

Printer details
Name: LASER SHOT LBP2900 from canon

Download the latest version, unpack the archive and try installing the RPMs:

If it reports AVC errors in the log, consider disabling SELinux, at least for troubleshooting.
If it still doesn’t work, extract the PPD file from the same archive for manual installation.

1 Like

@vgaetera I installed the 64 bit driver but still I am unable to print

It is stuck at processing

1 Like

Try to find the relevant errors/warnings in the log:
Viewing logs in Fedora :: Fedora Docs

Also temporarily switch to the permissive SELinux mode for testing:

sudo setenforce 0; getenforce
1 Like

No this did not solve the problem…
6151d12d663599bcd16efbefbfdef0f3f412f035.png
The work is still on pending
please do help


11:27:11 AM systemd: dbus-:1.2-org.gnome.Nautilus@1.service: Consumed 15.840s CPU time.
11:26:44 AM Xorg: (--) NVIDIA(GPU-0):
11:26:44 AM systemd: Started Application launched by gnome-shell.
11:26:35 AM kernel: usblp0: removed
11:26:34 AM cupsd: [Job 4] printer-state-reasons=none
11:26:34 AM cupsd: [Job 4] printer-state-reasons=none
11:26:34 AM cupsd: [Job 4] printer-state-message="Sending data to printer."
11:26:34 AM cupsd: [Job 4] printer-state=3(idle)
11:26:34 AM cupsd: [Job 4] End of messages
11:26:34 AM cupsd: [Job 4] PID 7369 (/usr/lib/cups/backend/usb) exited with no errors.
11:26:34 AM cupsd: [Job 4] Read thread still active, aborting the pending read...
11:26:34 AM cupsd: [Job 4] Waiting for read thread to exit...
11:26:34 AM cupsd: [Job 4] Sent 0 bytes...
11:26:34 AM cupsd: [Job 4] Sending data to printer.
11:26:34 AM cupsd: [Job 4] Device protocol: 2
11:26:34 AM cupsd: [Job 4] Printer found with device ID: MFG:Canon;MDL:LBP2900;CMD:CAPT;VER:2.1;CLS:PRINTER;DES:Canon LBP2900 Device URI: usb://Canon/LBP2900?serial=0000A2B6M2U4
11:26:34 AM cupsd: [Job 4] Hint: Try setting the LogLevel to "debug" to find out more.
11:26:34 AM cupsd: [Job 4] PID 7368 (/usr/lib/cups/filter/commandtops) stopped with status 1.
11:26:34 AM cupsd: [Job 4] STATE: -connecting-to-device
11:26:34 AM cupsd: [Job 4] Set job-printer-state-message to "Invalid printer command \"Clean\".", current level=ERROR
11:26:34 AM cupsd: [Job 4] STATE: +connecting-to-device
11:26:34 AM cupsd: [Job 4] libusb_get_device_list=12
11:26:34 AM cupsd: [Job 4] Printing on printer with URI: usb://Canon/LBP2900?serial=0000A2B6M2U4
11:26:34 AM cupsd: [Job 4] Loaded 196 quirks.
11:26:34 AM cupsd: [Job 4] Loading USB quirks from \"/usr/share/cups/usb\".
11:26:34 AM cupsd: [Job 4] Started backend /usr/lib/cups/backend/usb (PID 7369)
11:26:34 AM cupsd: [Job 4] Started filter /usr/lib/cups/filter/commandtops (PID 7368)
11:26:34 AM cupsd: [Job 4] envp[30]="AUTH_I****"
11:26:34 AM cupsd: [Job 4] envp[29]="FINAL_CONTENT_TYPE=application/postscript"
11:26:34 AM cupsd: [Job 4] envp[28]="CUPS_FILETYPE=document"
11:26:34 AM cupsd: [Job 4] envp[27]="PRINTER_STATE_REASONS=none"
11:26:34 AM cupsd: [Job 4] envp[26]="PRINTER=LBP2900-2"
11:26:34 AM cupsd: [Job 4] envp[25]="PRINTER_LOCATION="
11:26:34 AM cupsd: [Job 4] envp[24]="PRINTER_INFO=Canon LBP2900"
11:26:34 AM cupsd: [Job 4] envp[23]="DEVICE_URI=usb://Canon/LBP2900?serial=0000A2B6M2U4"
11:26:34 AM cupsd: [Job 4] envp[22]="CONTENT_TYPE=application/vnd.cups-command"
11:26:34 AM cupsd: [Job 4] envp[21]="RIP_MAX_CACHE=128m"
11:26:34 AM cupsd: [Job 4] envp[20]="PPD=/etc/cups/ppd/LBP2900-2.ppd"
11:26:34 AM cupsd: [Job 4] envp[19]="LANG=en_US.UTF-8"
11:26:34 AM cupsd: [Job 4] envp[18]="CHARSET=utf-8"
11:26:34 AM cupsd: [Job 4] envp[17]="IPP_PORT=631"
11:26:34 AM cupsd: [Job 4] envp[16]="CUPS_ENCRYPTION=IfRequested"
11:26:34 AM cupsd: [Job 4] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
11:26:34 AM cupsd: [Job 4] envp[14]="CUPS_MAX_MESSAGE=2047"
11:26:34 AM cupsd: [Job 4] envp[13]="USER=root"
11:26:34 AM cupsd: [Job 4] envp[12]="TMPDIR=/var/spool/cups/tmp"
11:26:34 AM cupsd: [Job 4] envp[11]="SOFTWARE=CUPS/2.3.3op2"
11:26:34 AM cupsd: [Job 4] envp[10]="SERVER_ADMIN=root@viking"
11:26:34 AM cupsd: [Job 4] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
11:26:34 AM cupsd: [Job 4] envp[8]="HOME=/var/spool/cups/tmp"
11:26:34 AM cupsd: [Job 4] envp[7]="CUPS_STATEDIR=/run/cups"
11:26:34 AM cupsd: [Job 4] envp[6]="CUPS_SERVERROOT=/etc/cups"
11:26:34 AM cupsd: [Job 4] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
11:26:34 AM cupsd: [Job 4] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
11:26:34 AM cupsd: [Job 4] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
11:26:34 AM cupsd: [Job 4] envp[2]="CUPS_DOCROOT=/usr/share/cups/www"
11:26:34 AM cupsd: [Job 4] envp[1]="CUPS_DATADIR=/usr/share/cups"
11:26:34 AM cupsd: [Job 4] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
11:26:34 AM cupsd: [Job 4] argv[6]="/var/spool/cups/d00004-001"
11:26:34 AM cupsd: [Job 4] argv[5]="job-uuid=urn:uuid:9879497f-0842-3f92-6cd9-8abb954f0d25 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1628746411 time-at-processing=1628746886"
11:26:34 AM cupsd: [Job 4] argv[4]="1"
11:26:34 AM cupsd: [Job 4] argv[3]="Clean print heads"
11:26:34 AM cupsd: [Job 4] argv[2]="anonymous"
11:26:34 AM cupsd: [Job 4] argv[1]="4"
11:26:34 AM cupsd: [Job 4] argv[0]="LBP2900-2"
11:26:34 AM cupsd: [Job 4] job-sheets=none,none
11:26:34 AM cupsd: [Job 4] - (printer/LBP2900-2/application/postscript to printer/LBP2900-2, cost 0)
11:26:34 AM cupsd: [Job 4] commandtops (application/vnd.cups-command to printer/LBP2900-2/application/postscript, cost 100)
11:26:34 AM cupsd: [Job 4] 2 filters for job:
11:26:34 AM cupsd: [Job 4] time-at-processing=1628746886
11:26:34 AM cupsd: [Job 4] Queued on "LBP2900-2" by "anonymous".
11:26:34 AM cupsd: [Job 4] hold_until=0
11:26:34 AM cupsd: [Job 4] File of type application/vnd.cups-command queued by "anonymous".
11:26:34 AM cupsd: [Job 4] Adding end banner page "none".
11:26:34 AM cupsd: [Job 4] Adding start banner page "none".
11:26:34 AM cupsd: [Job 4] Applying default options...
11:26:34 AM cupsd: [Job 4] The following messages were recorded from 11:18:31 AM to 11:26:34 AM
11:26:34 AM cupsd: [Job 4] Job stopped due to filter errors; please consult the syslog file for details.
11:26:34 AM cupsd: LBP2900-2 anonymous 4 [12/Aug/2021:11:26:34 +0545] total 0 - localhost Clean print heads - -
11:26:34 AM kernel: usblp 5-2:1.0: usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x04A9 pid 0x2676
11:26:32 AM kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dbus-:1.3-org.opensuse.CupsPkHelper.Mechanism@4 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
11:26:32 AM systemd: dbus-:1.3-org.opensuse.CupsPkHelper.Mechanism@4.service: Deactivated successfully.
11:26:26 AM kernel: usblp0: removed
11:26:26 AM cupsd: [Job 4] Invalid printer command \"Clean\".
11:26:03 AM kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=configure-printer@usb-005-007 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
11:26:03 AM systemd: configure-printer@usb-005-007.service: Deactivated successfully.
11:26:03 AM udev-configure-: Re-enabled printer ipp://localhost/printers/LBP2900-2
11:26:03 AM cupsd: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 125 Resume-Printer successful-ok
11:26:03 AM udev-configure-: Queue ipp://localhost/printers/LBP2900-2 has matching device URI
11:26:03 AM cupsd: REQUEST localhost - - "POST /admin/ HTTP/1.1" 401 125 Resume-Printer successful-ok
11:26:03 AM udev-configure-: URI of print queue: usb://Canon/LBP2900?serial=0000A2B6M2U4, normalized: canon lbp2900 serial 0000a2b6m2u4
11:26:03 AM cupsd: REQUEST localhost - root "POST / HTTP/1.1" 200 1387 CUPS-Get-Devices -
11:26:03 AM kernel: usblp 5-2:1.0: usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x04A9 pid 0x2676
11:26:03 AM kernel: usblp0: removed
11:26:03 AM cupsd: REQUEST localhost - - "POST / HTTP/1.1" 401 244 CUPS-Get-Devices successful-ok
11:26:01 AM kernel: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dbus-:1.3-org.opensuse.CupsPkHelper.Mechanism@4 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
11:26:01 AM systemd: Started dbus-:1.3-org.opensuse.CupsPkHelper.Mechanism@4.service.
11:25:58 AM udev-configure-: MFG:Canon MDL:LBP2900 SERN:- serial:0000A2B6M2U4
11:25:58 AM kernel: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=configure-printer@usb-005-007 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
11:25:58 AM systemd: Started Configure Plugged-In Printer.
11:25:58 AM kernel: usblp 5-2:1.0: usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x04A9 pid 0x2676
11:25:58 AM kernel: usb 5-2: SerialNumber: 0000A2B6M2U4
11:25:54 AM udev-configure-: Disabled printer ipp://localhost/printers/LBP2900-2 as the corresponding device was unplugged or turned off
11:25:54 AM cupsd: REQUEST localhost - root "POST /admin/ HTTP/1.1" 200 174 Pause-Printer successful-ok
11:25:54 AM udev-configure-: Queue ipp://localhost/printers/LBP2900-2 has matching device URI
11:25:54 AM kernel: usblp0: removed
11:25:54 AM kernel: usb 5-1.1: USB disconnect, device number 6
11:25:22 AM kernel: BPF prog-id=61 op=UNLOAD
11:25:22 AM kernel: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
11:25:22 AM systemd: systemd-timedated.service: Deactivated successfully.
11:24:59 AM gnome-logs: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
11:24:58 AM dleyna-renderer: dLeyna: Exit
11:24:58 AM systemd: Started dbus-:1.2-org.gnome.Logs@0.service.
11:24:57 AM dleyna-renderer: dLeyna: Exit
11:24:57 AM kernel: [UFW BLOCK] IN=virbr0 OUT= MAC= SRC=192.168.122.1 DST=239.255.255.250 LEN=220 TOS=0x00 PREC=0x00 TTL=4 ID=12856 DF PROTO=UDP SPT=36030 DPT=1900 LEN=200 
11:24:57 AM dleyna-renderer: Entries: (null)
11:24:57 AM systemd: Started dbus-:1.2-com.intel.dleyna\x2drenderer@2.service.
11:24:57 AM gnome-shell: Received error from D-Bus search provider firefox.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
11:24:57 AM packagekitd: resolve transaction /9300_ccdadbbe from uid 1000 finished with success after 4ms
11:24:57 AM dleyna-renderer: Client :1.201 lost
11:24:57 AM kernel: [UFW BLOCK] IN=wlp4s0 OUT= MAC= SRC=192.168.1.16 DST=239.255.255.250 LEN=220 TOS=0x00 PREC=0x00 TTL=4 ID=6423 DF PROTO=UDP SPT=51946 DPT=1900 LEN=200 
11:24:57 AM dleyna-renderer: Calling GetRenderers method
11:24:57 AM gnome-shell: Failed to set the markup of the actor 'ClutterText': Error on line 1 char 28: Odd character “S”, expected a “=” after attribute name “Less-than” of element “:”
11:24:57 AM dleyna-renderer: Entries: (null)
11:24:57 AM systemd: Started dbus-:1.2-com.intel.dleyna\x2drenderer@1.service.
1 Like

Remove all jobs and restart both PC and printer, then start log monitoring:

journalctl -f

Try to print something and post the output to pastebin.com.

Hi there I tried it but look it did not work

Could it be because I use a firewall
I am using a simple firewall
would that give trouble to printing?

I need to get this printer working please help :slightly_frowning_face: :slightly_frowning_face:

1 Like

Firewall should not affect the locally connected printer, but you can try to stop it for testing.

1 Like

Yeah ! I tried that too but didn’t work !!
I burrowed a windows laptop for today work but I can’t do that always !!
Please help !!
Anyone?

1 Like

Hi There !!
I wanted a follow up topic on my previous issue
I have no idea to create a follow up topic so I am creating a new topic here
My printer has no issue nor does my computer
I installled the drivers and now they are running on my computer but when it comes to printing my docs it does not ??
I had kept SELinux to pessimistic mode and also disabled firewall for concern that it might be messing with internal network between my computer and printer…

But still I am unable to print anything
If anybody have any idea on how to fix this please help !!

you could try this solution:

Summarize

  1. Go to the Canon Asia website (or any other Canon website) and download the CAPT Printer Driver for Linux V2.71 from this link.

  2. Extract it to get a folder containing directory 64-bit_Driver/RPM, enter inside.

  3. Install the package

sudo dnf install cndrvcups-capt-2.71-1.x86_64
sudo dnf install cndrvcups-common-3.21-1.x86_64
  1. Restart the printer.
sudo systemctl restart cups.service
  1. Add printer and start the Canon Printer daemon.
sudo /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59787 -E  
sudo /usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp0
sudo systemctl start ccpd.service
sudo systemctl status ccpd.service
  1. Check the printer status.
captstatusui -P LBP2900

also you can see the README file README-capt-2.71UK.txt in the Doc Directory.

Regards., HTH

1 Like