Friday, January 6, 2012

{Solved} How to install Canon LBP2900 on 64 bit Ubuntu/Linux Mint/Lubuntu

A.1. Create this directory
lnx#> sudo mkdir -p /var/log/CCPD
lnx#> sudo chown -R root:lp /var/log/CCPD/
If not, you'll get this error message "ccp send_data error, exit"

A.2. Make sure that /var/ccpd/fifo0 actually exists:
lnx#>ls -l /var/ccpd
When missing, it can be added manually:
lnx#>sudo mkdir /var/ccpd
lnx#>sudo mkfifo /var/ccpd/fifo0
lnx#>sudo chown -R lp:lp /var/ccpd

1. Download this archive

2. Extract files from the archive

3. Go to 64-bit/ directory

4. Install the deb packages:
lnx#>sudo dpkg -i *.deb

5. Restart CUPS:
lnx#>sudo service cups restart

6. Find ppd:
lnx#> find /usr/share/cups/model -name '*LBP*K.ppd' | grep 2900 /usr/share/cups/model/CNCUPSLBP2900CAPTK.ppd

7. Add printer into CUPS:
lnx#>sudo lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E

8. Link the Printer to the USB Printer Port:
lnx#>sudo ccpdadmin -p LBP2900 -o /dev/usblp0


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

 Entry Num  : Spooler   : Backend       : FIFO path             : Device Path   : Status
 ----------------------------------------------------------------------------
     [0]    : LBP2900   : ccp           : /var/ccpd/fifo0       : /dev/usblp0   :

9. Restart services
lnx#>sudo service ccpd stop
lnx#> sudo service ccpd start
lnx#>sudo service cups restart

10. Monitor printer with:
lnx#> captstatusui -P LBP2900

11. Print test page.

12. Eureka!

No comments:

Post a Comment