Ubuntu – Canon printer problem on Ubuntu 18.04

printing

I have Canon printer, model – LBP2900B.
I have installed its printer drivers too from below shown link.

http://support-in.canon-asia.com/contents/IN/EN/0100459601.html

When clicked on print button, message is shown as "printing completed" but no page is printed ever.

lpinfo -v gives following –

network beh
network lpd
file cups-brf:/
network http
network https
network ipps
network ipp
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS1?baud=115200
direct hp
network socket
direct ccp
direct parallel:/dev/lp0
direct hpfax

lsusb shows following –

Bus 001 Device 002: ID 04a9:1909 Canon, Inc. CanoScan LiDE 110
Bus 001 Device 004: ID 04a9:2676 Canon, Inc. CAPT Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 1bcf:0007 Sunplus Innovation Technology Inc. Optical Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Best Answer

Using the following method will definitely help Ubuntu 18.04 64 bit users to install and use their Canon LBP2900 printer, which otherwise can be a harrowing experience for the less experienced.

It will NOT help to use the official Linux (32 bit or 64 bit) LBP2900 driver from Canon at https://support-in.canon-asia.com/contents/IN/EN/0100459601.html. So no use to waste time over it. The following instructions will help instead:

  1. Run the following in terminal:

    $ sudo apt-get install build-essential git autoconf libtool libcups2-dev libcupsimage2-dev
    $ git clone https://github.com/agalakhov/captdriver.git
    $ cd captdriver
    $ autoreconf -i
    $ ./configure
    $ make
    

    On some systems, the destination below might be /usr/libexec/cups/filter:

    $ sudo cp src/rastertocapt /usr/lib/cups/filter/
    $ sudo cp Canon-LBP-2900.ppd /usr/share/ppd/custom/
    
  2. Now open Settings --> Printers and Add Printer --> USB printer, selecting the driver Canon LBP-2900 CAPT GDI printer, 0.1.0 from the list, and complete the remaining steps forward.

  3. Then click Apply and OK. Print a test page and your Canon LBP2900 printer is ready to print on 64 bit Ubuntu 18.04!

Note: Sometimes, printing gets stuck with the message “Rendering completed”. In that case, it helped to just turn the printer off and on again.

Please acknowledge and report if found useful or not useful.

Related Question