Monday, May 19, 2008

Installing Canon PIXMA iP1880 in Ubuntu Linux



Not every hardware comes with driver that support other OS, especially Linux. If you are running Ubuntu Linux and going to connect it to a Canon PIXMA iP1880 printer, then good news to you as Canon does provide drivers for Linux.

This post is a guide for those who want to install Canon PIXMA iP1880 driver to Ubuntu Linux. The following method is being tested and proved working in Ubuntu Feisty Fawn 7.04 (earlier versions are not working).
Canon PIXMA iP1880
Step 1

Download 2 files from Canon Server. Click on Linux at the Select OS panel. The two rpm files you have to download are:

Common package - cnijfilter-common-2.70-1.i386
Package for iP1800 series - cnijfilter-ip1800series-2.70-1.i386


Because these are .rpm files, we have to convert it to .deb, the Ubuntu packaging format.

Step 2

To convert to .deb we need to use alien. Install the alien package by command:
sudo apt-get install alien

Convert those 2 .rpm files to .deb:
sudo alien -k cnijfilter-common-2.70-1.i386.rpm
sudo alien -k cnijfilter-ip1800series-2.70-1.i386.rpm

Install it:
sudo dpkg -i cnijfilter-common_2.70-1_i386.deb
sudo dpkg -i cnijfilter-ip1800series_2.70-1_i386.deb

Other than those files, you need some old library such as libtiff3 and libpng3 to support it. If you can't find libtiff3 on the repository, then you have to make a softlink to point libtiff3 to libtiff4. Without this installation, you won't be able to print anything.

To make a softlink to point libtiff3 to libtiff4:
cd /usr/lib/
sudo ln -s ./libtiff.so.4.2.1 ./libtiff.so.3

For libpng3, install from repository:
sudo apt-get install libpng3

Step 3

After you have installed the above commands successfully, do the following:

Turn on the printer and connect the USB to the printer.

Go to System>Administration>Printing

Double click "New Printer".

Select Printer Type "Local or Detected Printer"

Select a Detected Printer: Canon iP1800 series and click next.

If you can't find iP1800 on the list, then select "Install Driver" and point to /usr/share/cups/model and select canonip1800.ppd.

Go to the next page and click on the apply button.

You will now see an iP1800 printer icon in your Printer window. You can make it your default printer by right click and select "Make Default".

Lastly, you can try to print a test page that looks something like this:

32 comments:

  1. When I do the following....

    Convert those 2 .rpm files to .deb:
    sudo alien -k cnijfilter-common-2.70-1.i386.rpm
    sudo alien -k cnijfilter-ip1800series-2.70-1.i386.rpm

    I get: File "cnijfilter-common-2.70-1.i386.rpm" not found.

    However, the rpm files are sitting on my desktop. I am using Ubuntu 8.04.

    ReplyDelete
  2. Oh, you probably haven't change the directory (the location of where you saved the .rpm files earlier) in the root terminal. Say, if you download those 2 .rpm files to your desktop, then in your terminal, you will have to change the directory by typing the following in the terminal:

    cd ~/Desktop

    Just to inform you, it's case sensitive. After changing to the directory of where you save the .rpm files, try to convert them to .deb again.

    Hope that helps.

    ReplyDelete
  3. I have tried the instruction but I found this in mine:
    nayan@nayan-family:~/Desktop$ sudo dpkg -i cnijfilter-common_2.70-1_i386.deb
    [sudo] password for nayan:
    Selecting previously deselected package cnijfilter-common.
    (Reading database ... 115813 files and directories currently installed.)
    Unpacking cnijfilter-common (from cnijfilter-common_2.70-1_i386.deb) ...
    Setting up cnijfilter-common (2.70-1) ...
    nayan@nayan-family:~/Desktop$ sudo dpkg -i cnijfilter-ip1800series_2.70-1_i386.deb
    Selecting previously deselected package cnijfilter-ip1800series.
    (Reading database ... 115822 files and directories currently installed.)
    Unpacking cnijfilter-ip1800series (from cnijfilter-ip1800series_2.70-1_i386.deb) ...
    dpkg: dependency problems prevent configuration of cnijfilter-ip1800series:
    cnijfilter-ip1800series depends on libglib1.2 (>= 1.2.0); however:
    Package libglib1.2 is not installed.
    cnijfilter-ip1800series depends on libgtk1.2 (>= 1.2.10-4); however:
    Package libgtk1.2 is not installed.
    dpkg: error processing cnijfilter-ip1800series (--install):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    cnijfilter-ip1800series

    What is mean with libglib1.2 & libgtk1.2

    ReplyDelete
  4. Hi nayan,

    Which Ubuntu version are you using? If you are using Edgy Eft (6.10), this guide might not work. It is suggested that you upgrade to a higher version.

    ReplyDelete
  5. I am using Ubuntu 8.04 Hardy Heron

    ReplyDelete
  6. Have you tried installing both the missing packages (libglib1.2 & libgtk1.2) ? Try install via apt-get.

    ReplyDelete
  7. Problem in Ubuntu 8.04 is in package libglib1.2 - becouse it is changed name and cnijfilter-ip1800series_2.70-2_i386.deb find libglib1.2, but system has it but with other name...

    It's problem...

    ReplyDelete
  8. I've tried successfully. But No print out from the printer?

    ReplyDelete
  9. Hi kisyanto,
    Have you ensured that your printer is on? Are both of the catridges attached to your printer?

    ReplyDelete
  10. After approx. 6 months of trying to get my ugly iP1880 to print anything, I followed the above instructions to the letter. I almost had a heart attack when the printer swallowed the paper and returned it with a beautiful test printing...thanks to Apple!

    ReplyDelete
  11. I'm using Ubuntu 8.04. I have follow the exact steps mentioned in this page but I'm still can't print. The printer state is idle. Any help or pointer is very much appreciated.

    ReplyDelete
  12. Hi Eddie,
    I know that version 7.04 will surely work, but not sure for other later versions. Later version can't work is probably because of libtiff3 and libpng3 which are old library files. Maybe you can approach the Ubuntu official forum to ask for further assistance.

    ReplyDelete
  13. hi,

    do u have instructions on how to install the printer in fedora?

    thanks

    ReplyDelete
  14. Thank you very very much!!
    Your recipe is unique one, which helped me! Lots of thanks!!
    I have Ubuntu 8.04, and my printer (Canon PIXMA iP1800) works ok now!!

    ReplyDelete
  15. how to install to ubuntu 9.04 jaunty jecklope....???

    thank's b4

    ReplyDelete
  16. thanks. after configure the library files libtiff and libpng, my printer works! i'm using ubuntu jaunty anyway

    ReplyDelete
  17. got it. it works on my ubuntu 9.04!

    ReplyDelete
  18. oh, is it? I'm glad to know it works on later version of Ubuntu. Congrats.

    ReplyDelete
  19. Unfortunately, I failed to install alien from by using
    sudo apt-get install alien

    So I tried to download the alien and installed it manually.

    Then as I tried to run the command
    sudo alien -k cnijfilter-common-2.70-1.i386.rpm

    I got the error message
    sh: rpm: not found
    Error executing "LANG=C rpm -qp --queryformat %{NAME} cnijfilter-common-2.70-1.i386.rpm": at /usr/local/share/perl/5.8.8/Alien/Package.pm line 482.

    I am using ubuntu 8.04. Can you help?

    ReplyDelete
  20. Bravo Man !!!!
    The method works perfectly in Ubuntu 9.04 (jaunty)

    I just had to set the default printer from System>Preference>Default Printer
    and select Set Default....

    Really Thanks for the help

    ReplyDelete
  21. INstallation of my canon pixma ip1880 printer was a breeze. Thank you very much for this very informative guide. You're the man!!!!!!!!!!!

    ReplyDelete
  22. Thank you very much. I begin to use Linux Ubuntu 904.Thank for good thing from you.

    ReplyDelete
  23. Thanks man. My Canon iP1800 is working beautifully now. Took me a while to understand how to work the commands in command prompt, but your advice is good. Thanks from South Africa.

    ReplyDelete
  24. Thank you very much for ur post.
    After 6 months of using Ubuntu, my Printer finally response.
    Ziku From Bangladesh

    ReplyDelete
  25. Type your comment here.i want canon ip1880 printers software

    ReplyDelete
  26. Well written article. Keep us posting.

    ReplyDelete
  27. i'm newbie using linux,

    Convert those 2 .rpm files to .deb:

    what thats mean??
    my files on download folder
    Common package – cnijfilter-common-2.70-1.i386
    Package for iP1800 series – cnijfilter-ip1800series-2.70-1.i386
    how to convert those files??

    Thanks for your help.

    ReplyDelete
  28. Here is the easier... :) http://librarylinux.wordpress.com/2010/07/06/driver-canon-pixma-ip1880-on-ubuntu-10-04-lucid-lynx/

    ReplyDelete
  29. My Printer CD is lossed, so pls allow
    me me download the software ie - canon ip 1880 pixma

    ReplyDelete
  30. I required to setup conon pixma ip 1880. please help me.

    ReplyDelete