May 23, 2006

Canon LBP-1120 on Ubuntu 5.10 How-To

Filed under: linux,printing,ubuntu — Petar Vasić @ 11:05 am

The approximate steps for printer installation
Update: everything decribed here works on Ubuntu 6.06 LTS, the only difference is this: when you link the driver with ccpdadmin, instead of using /dev/usb/lp0 as connection port, you should use /dev/usblp0, everything else is same.

Update #2: Added some refinements & clarifications, using the feedback from http://forum.ubuntu-fr.org

Update #3: I’ve had some troubles installing on 7.04, but managed to do it, read about it here, it might solve some problems in earlier versions too.

Update #4: (video) Instructions & notes for Hardy Heron 8.04 are here. There’s also a new link to the ccpd file.

Unless otherwise stated, you type all the commands in the Terminal (Applications->Accessories->Terminal)


You’ll need the latest cndrvcups-*.rpm (official drivers for Linux) from Canon’s support site.

I’ve used cndrvcups-capt-1.30-1.i386.rpm and cndrvcups-common-1.30-1.i386.rpm.

Alien & other libraries

In order to install rpm’s on Ubuntu, you’ll need alien, so if you don’t have it installed, install it with

$ sudo apt-get install alien

If you want to see the (usless & ugly) canon GUI, you’ll ned libgtk1.2, install it with:

$ sudo apt-get install libgtk1.2


In the directory where you have downloaded the files, convert them to .deb by typing (short way):

$ sudo alien *.rpm

The long way is to type:

$ sudo alien cndrvcups-capt-1.30-1.i386.rpm
$ sudo alien cndrvcups-common-1.30-1.i386.rpm.

This should produce two files: cndrvcups-capt-1.30-1.i386.deb and cndrvcups-common-1.30-1.i386.deb

then install them with (again, short way)

$ sudo dpkg -i *.deb

or, long way:

$ sudo dpkg -i cndrvcups-capt-1.30-1.i386.deb
$ sudo dpkg -i cndrvcups-common-1.30-1.i386.deb

Restart cups to load the ppds (you can try to restart it with $sudo /etc/init.d/cupsys restart but this is the better way to make sure it’s restarted):

$ sudo /etc/init.d/cupsys stop

Make sure the daemon is stopped:

$ ps aux|grep cupsd

If it’s not stopped, kill it:

$ sudo killall cupsd

Then finally start it again:

$ sudo /etc/init.d/cupsys start

These ugly steps are needed because the installation of the ccp backend seems to sometime f*ck up CUPS when it’s running and prevents it from stopping.

Then create the directories and fifos needed by the daemon (ccpd) and the monitor (captmon):

$ sudo mkdir /var/ccpd

$ sudo mkdir /var/captmon

$ sudo mkfifo /var/ccpd/fifo0

$ sudo chmod 777 /var/ccpd/fifo0

Add the printer using System->Administration->Printing. Select Canon Printer Daemon Port #1; Driver: LBP1120 CAPT ver.1.3

Setup ccpd to handle the printer:

$ sudo /usr/sbin/ccpdadmin -p NameOfPrinter -o /dev/usb/lp0

(/dev/udb/lp0, lp1, lp2 if multiple printers)

Example for LBP1120:

$ sudo /usr/sbin/ccpdadmin -p LBP1120-CAPT-ver.1.3 -o /dev/usb/lp0

note: if you are doing this on Ubuntu 6.06 LTS, replace /dev/usb/lp0 with /dev/usblp0

Create (or replace existing script by) a debian compliant ccpd daemon script (download the file, and place it in your /etc/init.d/ folder, under the name ccpd):

Update: you can download the file here. here

# ccpd startup script for Canon Printer Daemon for CUPS
# Modified for Debian GNU/Linux
# by Raphael Doursenaud .

DESC=”Canon Printer Daemon for CUPS”

test -f $DAEMON || exit 0

case $1 in
echo -n “Starting $DESC: $NAME”
start-stop-daemon –start –quiet –exec $DAEMON
echo “.”
echo -n “Stopping $DESC: $NAME”
start-stop-daemon –stop –quiet –oknodo –exec $DAEMON
echo “.”
echo “$DESC: $NAME:” `pidof $NAME`
echo -n “Restarting $DESC: $NAME”
start-stop-daemon –stop –quiet –oknodo –exec $DAEMON
sleep 1
start-stop-daemon –start –quiet –exec $DAEMON
echo “.”
echo “Usage: ccpd {start|stop|status}”
exit 1

exit 0

Start the ccpd dameon.

$ sudo /etc/init.d/ccpd start


First step:

Simply issue the following command:

$ sudo ccpdadmin

You should see your printer listed, with status.

Second step:

Issue the following command (you need to install the libgtk1.2 libraries to see the gui, but this step is optional, because gui only shows you status of the printer):

$ sudo captstatusui -P [NameOfPrinter]


Try printing something. (note: printing from Firefox on Ubuntu 5.10 didn’t work for me. It works fine on 6.06)



People at http://forum.ubuntu-fr.org


  1. Your ccpd script has a bit an error, atleast for my debian, it should have double – before options on start-stop-daemon. Copying it from opera and pasting to nano producess nonworking result.

    Comment by Tuomo Kalliokoski — June 23, 2006 @ 1:46 pm | Reply

  2. Tuomo,
    thanks for the info, you’re right, wordpress ate double –

    I’ll try to upload that file, as soon as i recover my hosting space…

    Comment by Petar Vasić — July 2, 2006 @ 11:58 am | Reply

  3. Thanks a lot, this is working on my Ubuntu 6.06 :-)

    Of course, this is

    sudo ccpdadmin

    instead of

    sudo ccpdamin

    Comment by Toub — July 26, 2006 @ 9:46 am | Reply

  4. Toub,

    Thanks, now it should be corrected…

    Comment by Petar Vasić — July 26, 2006 @ 3:29 pm | Reply

  5. Thanks a lot.
    It works fine with a xubuntu (ubuntu 6.06 Dapper).
    See you later.

    Comment by Martial — August 12, 2006 @ 5:01 pm | Reply

  6. Hi! Thanks for the post. I have a Canon LBP-1210 and am trying to install it on Ubuntu 6.06.1. I have followed your notes and at the second last step get the following result:

    peter@Sanchos:~$ sudo ccpdadmin

    ccpdadmin [-p Printer-name -o Printer-dev-path]
    ccpdadmin [-x Remove-Printer-name]

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

    Entry Num : Spooler : Backend : FIFO path : Device Path : Status
    [0] : LBP1210-CAPT-ver.1.3 : ipp : //usb://Canon/LASER%20SHOT%20LBP-1210 : /dev/usblp0 :


    But the printer does not print! Do you have any suggestions please; this is the only problem I have with moving from Windows to Linux!!!


    Comment by Peter Anderson — August 13, 2006 @ 10:38 am | Reply

  7. Peter,
    your fifo path should say: /var/ccpd/fifo0

    have you created the directories?

    I haven’t had such problems, but if I find some solution, I’ll post it here. (if you find it, post it)

    Good luck

    Comment by Petar Vasić — August 13, 2006 @ 12:29 pm | Reply

  8. Petar

    Thanks, I thought I did but I will go back and look (currently on Winows XP).

    Does it make any difference if the Printer is connected via parallel port or USB?

    I did initial setup with USB but would prefer parallel.


    Comment by Peter Anderson — August 13, 2006 @ 12:36 pm | Reply

  9. One small step for mankind, one giant step for Peter Anderson!!!

    I’ve got my Canon LBP-1210 printer working on Ubuntu.

    I can now give Windows the ‘flick’.

    Thank you very much for this post.

    One (and a half) question: Can the printer run using the parallel port, I assume that there is a change to the line

    sudo /usr/sbin/ccpdadmin -p LBP1210-CAPT-ver.1.3 -o /dev/usblp0

    but I’m not sure what it would be. You can use my e-mail address rather than clog-up your blog if you wish.

    Thanks again,


    Comment by Peter Anderson — August 13, 2006 @ 1:31 pm | Reply

  10. Hi, I have a Canon LBP-1210 and am trying to install it on Ubuntu 6.06.LTS. I have followed your notes and get the following result :
    michel@Michel:~$ sudo ccpdadmin

    ccpdadmin [-p Printer-name -o Printer-dev-path]
    ccpdadmin [-x Remove-Printer-name]

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

    Entry Num : Spooler : Backend : FIFO path : Device Path : Status
    [0] : LBP3210-CAPT-ver.1.3 : ccp : /var/ccpd/fifo0 : /dev/usblp0 :

    michel@Michel:~$ sudo captstatusui -P LBP3210-CAPT-ver.1.3 give this result :
    Communication Error
    Check the followings :
    -Is the printer turned on?
    -Is the cable correctly connected?

    The printer is on and connected with :
    michel@Michel:~$ lsusb
    Bus 005 Device 001: ID 0000:0000
    Bus 001 Device 001: ID 0000:0000
    Bus 004 Device 001: ID 0000:0000
    Bus 002 Device 003: ID 04a9:2617 Canon, Inc.
    Bus 002 Device 001: ID 0000:0000
    Bus 003 Device 001: ID 0000:0000

    What is the problem ? Note that the connected printer was not recognized when I added the printer using System->Administration->Printing.

    Thanks for your help.
    Michel Boisseau

    Comment by Michel Boisseau — August 17, 2006 @ 12:35 pm | Reply

  11. It was working for me with Ubuntu 6.06, but now, nothing.

    I tried to setup it again, unsuccessfully.

    When I try:

    sudo captstatusui -P LBP1120-CAPT-ver.1.3

    I get the Canon status software with :

    Message: “can not open fifo”
    Check the fifo path
    – ccp:/var/ccpd/fifo

    But the path exist:

    $ sudo ls -l /var/ccpd/
    total 0
    prwxrwxrwx 1 root root 0 2006-08-17 19:49 fifo0

    Strange. Any idea?

    Comment by Toub — August 17, 2006 @ 7:49 pm | Reply

  12. I have the Canon LBP-1120 connected to a Windows XP Machine via USB. To get it working from Ubuntu 6.06 I just had to alien then install the files from the Canon website, add the printer and away it went.

    Comment by hayden — August 21, 2006 @ 10:06 am | Reply

  13. Happy Hayden ! I just try a new installation… and now have the same message as Toub.
    I’ve learn in a forum a message : “what’s the name of a not to expensive printer working on Ubuntu ? I’ll buy one.”
    Is that really our future ? I hope is not.
    Meanwhile, who can help us to print with our strange printers ?

    Comment by Michel Boisseau — August 23, 2006 @ 5:56 pm | Reply

  14. Michel & Toub,

    What CUPS version are you using?

    Have you updated your Ubuntu after installation? If you have, and if it installed new CUPS (or some other stuff) there is an option that drivers are not working because of compatibility issues. I’m still using default 6.06, and I have no problem with printer.

    Maybe, we’ll need to wait for Canon to release new drivers, before our printer works with newer Ubuntu versions (I had some problems installing ver.1.10 drivers on 5.10).


    you can try converting debs with

    alien -s

    and then just installing them (that should take care of making fifo-s and daemon script), Hayden, did you use this option?

    I wish I could help you more…

    Comment by Petar Vasić — August 24, 2006 @ 7:12 pm | Reply

  15. Petar,
    thank you for your help.
    Answers to your questions :
    “What CUPS version are you using?” : 1.2.2-0ubuntu0.6.06
    “Have you updated your Ubuntu after installation?” : Yes I have.

    “I’m still using default 6.06, and I have no problem with printer” : it seems that I’m running the 6.06 to (CUPS’s version) but with problems :-(.

    I’ll search the option and try converting the debs finally if not running. I just hope that your wrong writing “Maybe, we’ll need to wait for Canon to release new drivers, before our printer works with newer Ubuntu versions” because I’m not sure that’s their first priority.

    I’ll write the results soon.

    Comment by Michel Boisseau — August 25, 2006 @ 9:15 am | Reply

  16. Hi Petar,
    sorry it does’nt work ! :-(
    Nothing with CUPS;
    Nothing with an “alien -s” , copying the files, installing the printer with System>Administration>Printing and the port set to “Canon Printer Daemon Port#1″… just always the same “Cannot open /var/ccpd/fifo0” after “No printer available : see /et/cups/printers.conf” meanwhile fifo0 and my printer exist in both cases.>:-(

    Until we find a solution, I’ll install the printer on the WXP desktop of my wife and will try to print using Samba.:-|
    Thanks for your help.

    Comment by Michel Boisseau — August 25, 2006 @ 11:50 am | Reply

  17. Michel,

    If you are willing to experiment, try this:

    Instead of selecting “Canon Printer Daemon Port#1”, try following Step 4 on https://wiki.ubuntu.com/Canon_LBP_2900_HowTo

    If that doesn’t wok either, you can try to rollback cups to version 1.2.0-0ubuntu5(dapper).

    You can do this by going to “Package->Force Version” in Synaptic.

    But beware that I’ve never done this, and that this could break lots of stuff on your system.

    I hope you’ll find a solution soon,

    Comment by Petar Vasić — August 25, 2006 @ 2:21 pm | Reply

  18. I tried the 2 suggestions you did, but I do not change nothing.

    All steps look to work, but finaly, the status windows do not say nothing :-(

    I don’t know what to try more…

    Thanks anyway for your help.

    Comment by Toub — August 28, 2006 @ 9:37 pm | Reply

  19. Hey !
    Petar, it’s a great day : i’d just print a marvellous black and white sheet of printing test from my Ubuntu 6.06 on Canon Laser Shot LBP 1210 !!! :-))
    What’s new ? I don’t know.
    I had reinstalled Ubuntu because some problems with firestarter. Then with care downloaded the cndrvcups*.rpms and installed it. And complaying with your description it worked fine after some fears because of wrong typing.

    Thank you very much for your help.
    I’ll try now to print from an XP station on my Ubuntu. Say me “good luck”.
    Best regards.

    Comment by Michel — September 3, 2006 @ 5:30 pm | Reply

  20. Finally Canon and Ubuntu can’t work together ! One test print only and no more. :-(
    The printer is back on the XP station and I print with cups trough a “samba printer”.
    I hope it will continue for a longer time.

    Comment by Michel — September 3, 2006 @ 6:23 pm | Reply

  21. Michel,
    maybe your ccpd is not started when you restart your computer.

    try starting it with
    $ sudo /etc/init.d/ccpd start

    If it works, use BUM (boot up manager) or similar program, to make it start every time you restart.

    Comment by Petar Vasić — September 16, 2006 @ 11:17 am | Reply

  22. I’ve this error message: LBP1120-CAPT-ver.1.3 can’t find in CUPS Spooler Entry!!

    I can’t print :(

    Comment by Gorka — October 29, 2006 @ 3:43 pm | Reply

  23. Hello Michel,

    first of all thanks a lot for your great instructions. It worked perfectly for
    me when applied under Ubuntu 6.06 Dapper. However, I switched to
    6.10 Edgy today and the instructions wont work, somehow. Every step works out until I have to add the printer:

    Add the printer using System->Administration->Printing. Select Canon Printer Daemon Port #1; Driver: LBP1120 CAPT ver.1.3

    The problem: I cannot find the LBP1120 in the driver list :-/
    I have made every step exactly the way I did it with Dapper but
    the Driver wont appear.

    Do you have an idea, maybe?



    Comment by Dorian Gray — October 29, 2006 @ 7:46 pm | Reply

  24. Sorry, I made a mistake there, please ignore the name I used after the “Hello”

    Comment by Dorian Gray — October 29, 2006 @ 7:47 pm | Reply

  25. Dorian,

    In still using 6.06, as soon as I install 6.10, (and hopefully get printer to work) I’ll update the blog post. In the mean time, you can check if the canon released new drivers for linux, that could help.

    Comment by Petar Vasić — October 29, 2006 @ 8:41 pm | Reply

  26. Doesn’t work with me either. Kubuntu 6.06 and LBP 1120. The test printing from the system settings > printer produces following:

    cupsdoprint -P ‘LBP1120’ -J ‘KDE Print Test’ -H ‘localhost:631’ -U ‘root’ -o ‘ multiple-document-handling=separate-documents-uncollated-copies orientation-requested=3’ ‘/usr/share/apps/kdeprint/testprint.ps’ : execution failed with message:

    Printer setting try

    From command line

    sudo captstatusui -P LBP1120
    *** captstatusui Socket Error ***

    The printer remains totally silent when trying to print. I’ve also tried drivers from http://www.boichat.ch/nicolas/capt/ and used the instructions from
    http://ubuntuforums.org/showthread.php?t=81454. This driver caused some startup noise from the printer when trying to print, but no other result. Has anyone of you tried these unofficial drivers?


    Comment by Lari — November 5, 2006 @ 7:36 pm | Reply

  27. It works! LBP1120 Kubuntu 6.06. I used the following instructions:


    Text is in Russian, but just copy paste the commands. :-)

    Comment by Lari — November 12, 2006 @ 7:39 pm | Reply

  28. After a long battle with LBP 1120, including CAPT 0.1 from Nicolas Boichat, and I finally succeded using official CAPT 1.3, with your help. 2 comments:
    Using alien & dpkg, one must be very attentive to the filenames, mixing underscores & dashes. Copy/paste from , as suggested by Lary, is a good workaround.I had some problems with /etc/init.d/ccpd (the script by Raphael Doursenaud), but chmod 755 solved the problem.

    Comment by Kodiak — December 1, 2006 @ 12:04 pm | Reply

  29. greetz from south australia peter.

    be sure to let us all know when youve installed 6.10 and found a nice way to make the printer work!

    Comment by josh — December 27, 2006 @ 7:35 am | Reply

  30. same as Gorka

    # sudo /usr/sbin/ccpdadmin -p LBP1210-CAPT-ver.1.3 -o /dev/usblp0

    LBP1210-CAPT-ver.1.3 can’t find in CUPS Spooler Entry!!

    Comment by FX — January 17, 2007 @ 12:43 am | Reply

  31. Can someone host the 2 .deb packages? I’m on 64bit Ubuntu here but I don’t know enough to go through the whole “chroot” thing to get alien to convert the packages.

    Running alien to convert them on 64bit just causes error upon error.

    Comment by Denney — February 14, 2007 @ 3:11 pm | Reply

  32. Denney,

    I’m not sure that would be legal…

    Comment by Petar Vasić — February 14, 2007 @ 5:26 pm | Reply

  33. Hi.

    I am trying to install / compile the driver for a lbp 5000 using linug gentoo on an amd64. It’s a pure slaying and i am getting bored of canon and such “developpers”… Now i success installing the driver but /usr/local/bin/captstatusui -P LBP5000 returns me “printer error Check the DevicePath of /etc/ccpd.conf” where it’s written :

    DevicePath /dev/usb/lp0

    I am on it since more than 24hours then ill go sleeping…
    no really canon devs arent linux compatible…

    Comment by fken — March 4, 2007 @ 2:35 am | Reply

  34. fken, try setting DevicePath to /dev/usblp0

    Comment by Petar Vasić — March 10, 2007 @ 2:24 pm | Reply

  35. is there someway getting canon lbt-1120 on ubuntu amd64?

    Comment by uric — March 11, 2007 @ 12:29 pm | Reply

  36. Does anyone know if this driver works with Canon LBP-810 as well?

    Comment by Lcrusher — March 16, 2007 @ 7:38 pm | Reply

  37. Has anybody managed to get LBP-1120 working with Feisty yet? I (somehow after a couple of days worth of attempts) have succeeded in installing the drivers (alien-ing the rpms, dpkgs, ccpds, the lot as described above), but when doing the final test pringing – nothing. (Just turning to linux with the new ubuntu, and already gave up the hope of using the 64-bit version and installed the i386-version. I would hate to just go back and install Edgy just because of the printing). Thanks.

    Comment by Jouni — April 22, 2007 @ 6:48 pm | Reply

  38. Jouni,

    I’ve managed to get it working, and I’m writing the update… It’s very tricky… In short, I had to use specific ppd, which wasn’t included in the latest driver (but from another version…)

    I’ll post the update shortly.

    Comment by Petar Vasić — April 23, 2007 @ 8:45 am | Reply

  39. […] downloaded the driver (version 1.30-1) from canon’s site. Tried installing it with my previous tutorial, but it didn’t […]

    Pingback by Canon LBP1120 on Ubuntu 7.04 Feisty Fawn « abakus — April 23, 2007 @ 11:01 pm | Reply

  40. It’s Alive, it’s alive! ;) Thank you, there’s still hope of a fully functional and usable system here. I don’t know what I did exactly, since with your new updated instructions all I got was error messages of a “already installed” -type. But it works, hope others can get theirs working too.

    Comment by Jouni — April 25, 2007 @ 10:11 am | Reply

  41. Hi,

    first of all thanks for this tutorial, LBP1120 works perfectly on my ubuntu feisty. I’m working on an university network and i’d like to share the LBP1120 to the other computers, but it doesn’t work. The odd thing is that a windows client manages to print eventhough there is a warning (port already in use), but impossible to make it work with a ubuntu client….if anyone has an idea….thanks

    Comment by Jahlia — September 7, 2007 @ 10:29 am | Reply

  42. […] “not ideal,” to hiss an euphemism through my teeth. I had good hopes when I found this how-to, but… nope. Got the drivers installed, printer sort of detected, but it did nothing when I […]

    Pingback by Installing the Canon LBP-1120 printer « Akee fruits — October 26, 2007 @ 5:34 pm | Reply

  43. […] Old, and still valid instructions (you can see me reading them while configuring the printer in the video), are here. […]

    Pingback by Canon Lbp-1120 on Ubuntu 8.04 Hardy Heron video tutorial « abakus — April 25, 2008 @ 12:01 am | Reply

  44. […] Англомовна стаття яка допомогла мені проробити вищезгадану роботу розміщена тут: https://v0xel.wordpress.com/2006/05/23/canoon-lbp-1120-on-ubuntu-510-how-to/ […]

    Pingback by .::Stalin Blog::. » Blog Archive » Підключаємо принтер Canon LBP-810 (LBP-1120) в Ubuntu — July 23, 2008 @ 1:45 pm | Reply

  45. And how could i set up my printer in 8.04? could you give me a link of tutorial?

    Comment by Mostafa — October 23, 2008 @ 8:24 pm | Reply

  46. I’m trying to setup the printer in Ubuntu 8.10 Intrepid, i did all the way until the setup of ccpd, here’s the error:

    LBP1120-CAPT-ver1.5 can’t find in CUPS Spooler Entry!!

    Comment by Problems — February 22, 2009 @ 1:37 pm | Reply

  47. Hi, I`m trying to setup lbp 2900 on my Ubuntu 9.04 (jaunty)… And it doesn`t work. I used your instruction in Ubuntu 8.04 and 8.10 and it worked perfectly. Have you tried to setup it on 9.04? Help…please))

    Comment by Artyom Kalaydov — April 29, 2009 @ 1:55 pm | Reply

  48. I found decision of my problem in Ubuntu 9.04. I don`t know how it possible, but if edit file /etc/ccpd.conf and correct such lines:
    # Log directory path.
    # LogDirectoryPath /var/log/CCPD/
    # Log directory path.
    # LogDirectoryPath /var/log/cups/
    then everything will be OK))) Printer will work (but of cource you need to restart cups)! In another way you can make folder /var/log/CCPD/. But I can`t understand WHY???!!! As I know anything after # is comments, and they shouldn`t do anything! My brain will explode if I`m not be able to find answer to this question)) Anyway I`m happy to have my printer working on new version of Ubuntu! Now I can use it completely!!! ))) Good luck!

    Comment by Artyom Kalaydov — May 21, 2009 @ 9:17 pm | Reply

  49. unable to install canon LBP2900B in ubuntu 8.04. pl help me with detailed instructions step by step. i tried everthin even used https://wiki.ubuntu.com/Canon_LBP_2900_HowTo
    g… including

    Comment by anand — June 23, 2009 @ 5:54 pm | Reply

  50. when i try to print a pdf file i get an error [CAPTFILTER] input file error plz help……….

    Comment by nilay — November 13, 2009 @ 4:39 pm | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Rubric Theme. Create a free website or blog at WordPress.com.


Get every new post delivered to your Inbox.

%d bloggers like this: