Canon LBP2900 printer

Hi there,

I have a Canon LBP2900 printer and can’t find that specific driver. What can I do about it? I’m trying to install the printer via Yast. I use OpenSuse Leap 15.5. Grateful for your guidance.

Download drivers from the vendor site

Hi, I downloaded the CAPT Printer Driver for Linux V2.71, extracted the folder, started Yast, selected the 64 driver but it’s empty. I tried selecting the entire folder but the same problem as when I select the 64 driver.

image

There are 2 rpms inside /linux-capt-drv-v271-uken/64-bit_Driver/RPM/

There is also an Doc directory, read the README-capt-2.71UK.txt

You can also use zypper to install:
zypper in /path/to/the/directory/xxxxx.rpm

1 Like
dynamic-pd01:/home/mamunson # sudo zypper in /home/mamunson/Downloads/linux-capt-drv-v271-uken/64-bit_Driver/RPM/cndrvcups-capt-2.71-1.x86_64.rpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides 'libcaepcm.so.1' needed by the to be installed cndrvcups-capt-2.71-1.x86_64
 Solution 1: do not install cndrvcups-capt-2.71-1.x86_64
 Solution 2: break cndrvcups-capt-2.71-1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 

first install the common rpm.

1 Like

After Installation of cndrvcups-common-3.21-1.x86_64.rpm

rpm -q --whatprovides libcaepcm.so.1
cndrvcups-common-3.21-1.x86_64

dynamic-pd01:/home/mamunson # sudo zypper in /home/mamunson/Downloads/linux-capt-drv-v271-uken/64-bit_Driver/RPM/cndrvcups-common-3.21-1.x86_64.rpm
Loading repository data…
Reading installed packages…
Resolving package dependencies…

The following 8 NEW packages are going to be installed:
cndrvcups-common glibc-32bit libgcc_s1-32bit libglade-2_0-0 libstdc++6-32bit libstdc++6-pp-32bit nss-mdns-32bit samba-client-32bit

8 new packages to install.
Overall download size: 17.1 MiB. Already cached: 0 B. After the operation, additional 28.1 MiB will be used.
Continue? [y/n/v/…? shows all options] (y): y
Retrieving: libglade-2_0-0-2.6.4-150400.13.10.x86_64 (Main Repository) (1/8), 86.7 KiB
Retrieving: libglade-2_0-0-2.6.4-150400.13.10.x86_64.rpm …[done]
Retrieving: glibc-32bit-2.31-150300.63.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (2/8), 1.4 MiB
Retrieving: glibc-32bit-2.31-150300.63.1.x86_64.rpm …[done (4.5 MiB/s)]
Retrieving: samba-client-32bit-4.17.12+git.427.2619dc0bed-150500.3.14.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15)
(3/8), 191.3 KiB
Retrieving: samba-client-32bit-4.17.12+git.427.2619dc0bed-150500.3.14.1.x86_64.rpm …[done (612.2 KiB/s)]
Retrieving: libgcc_s1-32bit-13.2.1+git7813-150000.1.6.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15)
(4/8), 78.7 KiB
Retrieving: libgcc_s1-32bit-13.2.1+git7813-150000.1.6.1.x86_64.rpm …[done]
Retrieving: libstdc++6-32bit-13.2.1+git7813-150000.1.6.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15)
(5/8), 702.8 KiB
Retrieving: libstdc++6-32bit-13.2.1+git7813-150000.1.6.1.x86_64.rpm …[done (4.9 MiB/s)]
Retrieving: libstdc++6-pp-32bit-13.2.1+git7813-150000.1.6.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15)
(6/8), 18.2 KiB
Retrieving: libstdc++6-pp-32bit-13.2.1+git7813-150000.1.6.1.x86_64.rpm …[done]
Retrieving: nss-mdns-32bit-0.14.1-150400.8.6.x86_64 (Main Repository) (7/8), 26.2 KiB
Retrieving: nss-mdns-32bit-0.14.1-150400.8.6.x86_64.rpm …[done]
Retrieving: cndrvcups-common-3.21-1.x86_64 (Plain RPM files cache) (8/8), 14.7 MiB
cndrvcups-common-3.21-1.x86_64.rpm:
Package header is not signed!

cndrvcups-common-3.21-1.x86_64 (Plain RPM files cache): Signature verification failed [6-File is unsigned]
Abort, retry, ignore? [a/r/i] (a):

ignore, because you have downloaded the rpm and zypper does not know, where to get the responding key.

Thats a normal behavior.

1 Like
Checking for file conflicts: ...........................................................................................................[done]
(1/8) Installing: libglade-2_0-0-2.6.4-150400.13.10.x86_64 .............................................................................[done]
(2/8) Installing: glibc-32bit-2.31-150300.63.1.x86_64 ..................................................................................[done]
(3/8) Installing: samba-client-32bit-4.17.12+git.427.2619dc0bed-150500.3.14.1.x86_64 ...................................................[done]
(4/8) Installing: libgcc_s1-32bit-13.2.1+git7813-150000.1.6.1.x86_64 ...................................................................[done]
(5/8) Installing: libstdc++6-32bit-13.2.1+git7813-150000.1.6.1.x86_64 ..................................................................[done]
(6/8) Installing: libstdc++6-pp-32bit-13.2.1+git7813-150000.1.6.1.x86_64 ...............................................................[done]
(7/8) Installing: nss-mdns-32bit-0.14.1-150400.8.6.x86_64 ..............................................................................[done]
(8/8) Installing: cndrvcups-common-3.21-1.x86_64 .......................................................................................[done]
dynamic-pd01:/home/mamunson # rpm -q --whatprovides libcaepcm.so.1
cndrvcups-common-3.21-1.x86_64
dynamic-pd01:/home/mamunson # cndrvcups-common-3.21-1.x86_64rpm -q --whatprovides libcaepcm.so.1
If 'cndrvcups-common-3.21-1.x86_64rpm' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf cndrvcups-common-3.21-1.x86_64rpm
dynamic-pd01:/home/mamunson # cndrvcups-common-3.21-1.x86_64
If 'cndrvcups-common-3.21-1.x86_64' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf cndrvcups-common-3.21-1.x86_64
dynamic-pd01:/home/mamunson # 

And now
sudo zypper in /home/mamunson/Downloads/linux-capt-drv-v271-uken/64-bit_Driver/RPM/cndrvcups-capt-2.71-1.x86_64.rpm

1 Like
dynamic-pd01:/home/mamunson # sudo zypper in /home/mamunson/Downloads/linux-capt-drv-v271-uken/64-bit_Driver/RPM/cndrvcups-capt-2.71-1.x86_64.rpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 5 NEW packages are going to be installed:
  cndrvcups-capt liblzma5-32bit libpopt0-32bit libxml2-2-32bit libz1-32bit

5 new packages to install.
Overall download size: 10.2 MiB. Already cached: 0 B. After the operation, additional 36.4 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: liblzma5-32bit-5.2.3-150000.4.7.1.x86_64 (Main Repository)                                                    (1/5), 115.8 KiB    
Retrieving: liblzma5-32bit-5.2.3-150000.4.7.1.x86_64.rpm ...............................................................................[done]
Retrieving: libpopt0-32bit-1.16-3.22.x86_64 (Main Repository)                                                             (2/5),  34.1 KiB    
Retrieving: libpopt0-32bit-1.16-3.22.x86_64.rpm ..........................................................................[done (304.2 KiB/s)]
Retrieving: libz1-32bit-1.2.13-150500.4.3.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15)         (3/5),  58.7 KiB    
Retrieving: libz1-32bit-1.2.13-150500.4.3.1.x86_64.rpm .................................................................................[done]
Retrieving: libxml2-2-32bit-2.10.3-150500.5.11.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15)    (4/5), 585.2 KiB    
Retrieving: libxml2-2-32bit-2.10.3-150500.5.11.1.x86_64.rpm ................................................................[done (4.0 MiB/s)]
Retrieving: cndrvcups-capt-2.71-1.x86_64 (Plain RPM files cache)                                                          (5/5),   9.4 MiB    
cndrvcups-capt-2.71-1.x86_64.rpm:
    Package header is not signed!

cndrvcups-capt-2.71-1.x86_64 (Plain RPM files cache): Signature verification failed [6-File is unsigned]
Abort, retry, ignore? [a/r/i] (a): i

Checking for file conflicts: ...........................................................................................................[done]
(1/5) Installing: liblzma5-32bit-5.2.3-150000.4.7.1.x86_64 .............................................................................[done]
(2/5) Installing: libpopt0-32bit-1.16-3.22.x86_64 ......................................................................................[done]
(3/5) Installing: libz1-32bit-1.2.13-150500.4.3.1.x86_64 ...............................................................................[done]
(4/5) Installing: libxml2-2-32bit-2.10.3-150500.5.11.1.x86_64 ..........................................................................[done]
(5/5) Installing: cndrvcups-capt-2.71-1.x86_64 .........................................................................................[done]
dynamic-pd01:/home/mamunson # 

Not sure what you’re trying to convey now. I see that you’ve manged to install the drivers, but please confirm how your printer is connected (USB or network).

1 Like

The printer is connected to the PC via USB but I get this message:

image

I tried to reset the password by typing sudo lpadmin -p printer_name -E -v printer_uri -o auth-info-required=negotiate but received:

lpadmin: Bad device-uri "printer_uri".
mamunson@dynamic-pd01:~> 


I tried to login in via http://localhost:631 and it asked me for a username and a password. I typed root for username and by root password and I was able to see the View Access Log.

Yes, I’m not sure that the URI is correct for this particular driver implementation. This range of printers uses a proprietary driver to provide support for CAPT (Canon Advanced Printing Technology).

More info
https://wiki.archlinux.org/title/Canon_CAPT#Configuration

I think you’ll need to configure using something like

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

A similar old thread

Like this?

mamunson@dynamic-pd01:~> sudo /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59787 -E 
[sudo] password for root: 
mamunson@dynamic-pd01:~> sudo /usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp0

 CUPS_ConfigPath = /etc/cups/
 LOG Path        = None
 UI Port         = 59787

 Entry Num  : Spooler   : Backend       : FIFO path             : Device Path   : Status 
 ----------------------------------------------------------------------------
     [0]    : LBP2900   :               :                       : /dev/usb/lp0  : New!!

mamunson@dynamic-pd01:~> sudo systemctl start ccpd.service
Failed to start ccpd.service: Unit ccpd.service not found.
mamunson@dynamic-pd01:~> sudo systemctl status ccpd.service
Unit ccpd.service could not be found.
mamunson@dynamic-pd01:~>