Tuesday, May 14, 2013

How to install Canon LBP-2900 on Linux (Centos 6.2)

For Local Printer

Get Driver for your Canon LBP-2900 driver on http://support-in.canon-asia.com

Download CAPT Printer Driver for Linux Version 2.50
# wget http://gdlp01.c-wss.com/gds/6/0100004596/01/Linux_CAPT_PrinterDriver_V250_uk_EN.tar.gz
Extract it

# tar -zxvf Linux_CAPT_PrinterDriver_V250_uk_EN.tar.gz 
Linux_CAPT_PrinterDriver_V250_uk_EN/
Linux_CAPT_PrinterDriver_V250_uk_EN/32-bit_Driver/
Linux_CAPT_PrinterDriver_V250_uk_EN/32-bit_Driver/Debian/
Linux_CAPT_PrinterDriver_V250_uk_EN/32-bit_Driver/Debian/cndrvcups-capt_2.50-1_i386.deb
Linux_CAPT_PrinterDriver_V250_uk_EN/32-bit_Driver/Debian/cndrvcups-common_2.50-1_i386.deb
Linux_CAPT_PrinterDriver_V250_uk_EN/32-bit_Driver/RPM/
Linux_CAPT_PrinterDriver_V250_uk_EN/32-bit_Driver/RPM/cndrvcups-capt-2.50-1.i386.rpm
Linux_CAPT_PrinterDriver_V250_uk_EN/32-bit_Driver/RPM/cndrvcups-common-2.50-1.i386.rpm
Linux_CAPT_PrinterDriver_V250_uk_EN/64-bit_Driver/
Linux_CAPT_PrinterDriver_V250_uk_EN/64-bit_Driver/RPM/
Linux_CAPT_PrinterDriver_V250_uk_EN/64-bit_Driver/RPM/cndrvcups-capt-2.50-1.x86_64.rpm
Linux_CAPT_PrinterDriver_V250_uk_EN/64-bit_Driver/RPM/cndrvcups-common-2.50-1.x86_64.rpm
Linux_CAPT_PrinterDriver_V250_uk_EN/Doc/
Linux_CAPT_PrinterDriver_V250_uk_EN/Doc/guide-capt-2.5xUK.tar.gz
Linux_CAPT_PrinterDriver_V250_uk_EN/Doc/LICENSE-captdrv-2.50E.txt
Linux_CAPT_PrinterDriver_V250_uk_EN/Doc/README-capt-2.5xUK.txt
Linux_CAPT_PrinterDriver_V250_uk_EN/Src/
Linux_CAPT_PrinterDriver_V250_uk_EN/Src/cndrvcups-capt-2.50-1.tar.gz
Linux_CAPT_PrinterDriver_V250_uk_EN/Src/cndrvcups-common-2.50-1.tar.gz


Install only 2 files
# rpm -Uvh Linux_CAPT_PrinterDriver_V250_uk_EN/32-bit_Driver/RPM/cndrvcups-common-2.50-1.i386.rpm 

# rpm -Uvh Linux_CAPT_PrinterDriver_V250_uk_EN/32-bit_Driver/RPM/cndrvcups-capt-2.50-1.i386.rpm

Restart the cups

/etc/init.d/cups restart

Now run this command


# /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
# /usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp0


Start ccpd service

/etc/init.d/ccpd start

To see printer status

# captstatusui -P LBP2900

For Network Printer

Simple, just add printer using smb connection and CAPT driver from canon which you can find on /usr/share/cups/model/ and for Canon LBP-2900 you can using /usr/share/cups/model/CNCUPSLBP2900CAPTK.ppd And Here is my printers.conf


Info Canon LBP2900 CAPT English
Location Titan
MakeModel Canon LBP2900 CAPT ver.1.5
DeviceURI smb://username:password@192.168.110.249/Canon%20LBP2900
State Idle
StateTime 1367827711
Type 8392836
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 0 pstocapt
Filter application/vnd.cups-command 0 commandtops
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
 
MyPrinter (GTK View)

MyPrinter (WebView)

No comments: