Vous êtes sur la page 1sur 3

Install Canon LBP2900 on Linux

(Ubuntu,LinuxMint,Debian)
After hours of searching and trying various methods I finally found the solution! I managed to get my Canon LBP2900 installed on
Ubuntu.

From my research I know that there are plenty of people out there who would like to use their Canon-Printer with Linux. Since I am
not a Linux guru my solution is based on other solutions I found in various Ubuntu- (and Linux) Forums. So here it is

Problem with Canon Product is that they dont administer their Linux-Driver well enough and there are some wrong dependencies.

Installation

1. Switch your Printer off.

2. Make sure you dont have the CAPT Driver Packages already installed. Otherwise uninstall first.

3. Now ensure that you have Ghostscript and the OpenPrinting Driver Interface installed on your system (this should be the case
with Karmic Koala and Lucid Lynx). If you are not sure, type following command into a terminal:

% gs -h | grep opvp

this should output:

lj5mono ljet2p ljet3 ljet3d ljet4 ljet4d ljetplus nullpage opvp oprp pbm

if you dont get the correct line the OpenPrinting Driver Interface is not installed and you should install it before you proceed.
Click here for further instruction on how to do so.

4. I used the CAPT_Printer_Driver_for_Linux_V200_uk_EN.tar.gz from the australian Canon-Website.Download the .tar archive and
unpack it. In the folder /Driver/Debian You will find the driver packages for Ubuntu (Which derives from Debian).

First you start to install the package called *common*.deb. (In the older Driver Version (1.80) you will encounter that there is a
dependencies-problem, which you resolve by typing

sudo apt-get install -f into a terminal.)

With the new Version (2.0 see link above) you shouldnt have any problems.

5. Then install package called *cndrvcups*.deb.

IMPORTANT Now restart CUPS by typing:

sudo /etc/init.d/cups restart

6. To register the printer at the spooler you type:


sudo /usr/sbin/lpadmin -p [printer name] -m [PPD file name] -v ccp:/var/ccpd/fifo0 -E

For the LBP2900 the command would look like this:

sudo /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E

7. Now you have to register the printer at the ccpd-Daemon-Setupfile

sudo /usr/sbin/ccpdadmin -p [Printer Name] -o [Printer Device Path]

For the LBP2900 the command looks like:

sudo /usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp0

8. Now start the ccpd-Daemon:

sudo /etc/init.d/ccpd start

9. Happy Prinitng!

(10.) To get the printer status type:

captstatusui -P LBP2900

NOTE!

You have to restart the ccpd-Daemon every time you restart your Computer!

To avoid to have to start the Daemon manually you can use the Autostart Function.

Follow these instructions:

Since the ccpd Daemon can only be started by root you have to modify the /etc/sudoers file to let a user start the daemon.

1. Open the File by typing

sudo visudo

2. then add these lines (user= your username e.g. steven) :

# all users that may start ccpd as root

user ALL=NOPASSWD: /etc/init.d/ccpd start


3. and save the altered file.

Configuring Autostart

You have to open System -> Settings -> Autostart . Click on Add to open a new Autostart Program. You can call it daemon
LBP2900. In the command line you have to put:

sudo /etc/init.d/ccpd start

Now click on Add and the Service should work after the next reboot.

Add one more Program by clicking Add again. You can call it Statusmonitor LBP2900 .

Put:

sh -c "sleep 30; /usr/bin/captstatusui -P LBP2900"

in the commandline and everything should be fine. One more Tip: I realized that is advantageous to have the Printer switched off
before you start or reboot the system.

Vous aimerez peut-être aussi