Monday, August 27, 2007

Canon Pixma IP1880 on Slackware

I bought a new printer few months ago, since my old printer was not capable anymore. It's Canon Pixma IP 1880. At the beginning, i was worried whether my printer will be detected by Linux or not. I asked the shop, but they don't understand about Linux, so i searched from the Internet. I found a Linux driver from Singapore's site and i download it (there were two files that needs to be downloaded, cnijfilter-common-2.70-1.i386 and cnijfilter-ip1800series-2.70-1.i386). It was in RPM format. Well, only downloading, but not installing it. Since then, i left it behind until today.

Today, i wanted to test since i have some time and i'm on my Linux system right now. So I started with opening K > System > Manage Printings. This will open a SeaMonkey browser (i don't know why it picked up SeaMonkey, even though i have Firefox installed) and opened CUPS local file (http://localhost:631). I add some information about the printer, and in the next few seconds, my printer was detected (at this time, i was only installing cnijfilter-ip1800series-2.70-1.i386 package after i convert it to tgz using rpm2tgz command). I was quite surprised, since it was very fast (and i often heard that people are having problem detecting this printer). I tried to print a test page and it failed, since it's missing a file named pstocanonij. It's a library which should also be installed (it's located in cnijfilter-common-2.70-1.i386 package). So my next step would be installing the package and i delete the printer information and start over. This time, i choose the correct options and voila.... my printer is fully detected and i can print a test page. Here's the screenshot of the CUPS page.

Update (24 August 2008): It's been one year since this post is written, so it's time to update the article, as it seems that there has been some changes in the CUPS since it was bought by Apple.

Right now, you don't need to add your printer manually, as the CUPS interface can detect your connected printers by using the Administration tab. Click on it and it will try to detect your printer (make sure you have connect your printer). Most printers already use USB connection and it will be detected automatically by the CUPS interface. Here's my new screenshot on CUPS 1.3.8 on Slackware 12.1 (the second screenshot). Look at the device URI. It's different compared to the old screenshot.

Canon Pixma 1880

17 comments:

  1. In general case, what's the best option for Linux Os, Hp or Canon printer ?

    In the past time, I got some trouble with Pixma printer.

    (But now i have one alternatif Pixma IP 1880 for my Slackware :)

    ReplyDelete
  2. It's up to you, since most of the printer vendor has supply driver for Linux right now, but not for all type. You must make sure that there's a driver for the printer you want to buy

    ReplyDelete
  3. I dont play Linux -_-" I can't

    ReplyDelete
  4. mas willy cups nya gak jalan. knpa ya.

    ReplyDelete
  5. Unable to connect

    Firefox can't establish a connection to the server at localhost:631.

    ReplyDelete
  6. coba cek apakah servicenya sudah jalan atau belum.

    ps aux | grep cups

    ReplyDelete
  7. hi willy i had install cnijfilter-common-2.70-1.i386.tgz, and i had configure CUPS but still get
    ip1880 "Unable to start filter "pstocanonij" - No such file or directory." can you help me....? sorry iam noobs and thank's for the answer

    ReplyDelete
  8. You will have to install 2 RPMs for this which are provided in the Canon's website. Have you installed both? The file is located on the other file that you haven't installed yet :)

    ReplyDelete
  9. yes i had install 2 RPM after i convert it to .tgz by the way i use bt (backtrack). this the step
    1. bt~# ls
    cnijfilter-common-2.70-1.i386.rpm*
    cnijfilter-common-2.70-1.i386.tgz*
    cnijfilter-ip1800series-2.70-1.i386.rpm*
    cnijfilter-ip1800series-2.70-1.i386.tgz*
    bt~#installpkg *.tgz
    after that run the service
    bt~#cupsd
    then i put "localhost:631" on mozilla then run it.
    yup this bring me to CUPS page on mozilla. then i klik add printer link,
    name [ip1880]
    location [home]
    description [i leave it blank]
    after that put it to
    device for ip1880 [
    Canon iP1800 USB #1 (Canon iP1880 Series)]
    the i add ppd file from /usr/share/cups/model/canonip1800.pdd
    after that to setting page
    ip1880: General
    Output Resolution:600
    Color Model:rgb
    Paper Size:A4
    Media Type:plain
    Paper Feed:asf
    ip1880: Banners
    Starting Banner:none
    Ending Banner:none
    ip1880: Policies
    Error Policy:stop-printer
    Operation Policy:default

    is that correct or i have been miss something

    ReplyDelete
  10. and i still get
    Unable to start filter "pstocanonij" - No such file or directory.
    i wonder where is pstocanonij

    ReplyDelete
  11. try this:
    cat /var/log/packages/cnijfilter-common-2.70-1.i386.tgz | grep pstocanonij

    there you should be able to locate the pstocanonij

    ReplyDelete
  12. hi it's me again damned@indobacktrack.or.id or idam_ned@yahoo.co.id
    i do it, but i get error like this
    bt ~ # cat /var/log/packages/cnijfilter-common-2.70-1.i386.tgz | grep pstocanonij
    cat: /var/log/packages/cnijfilter-common-2.70-1.i386.tgz: No such file or directory

    if i not put in .tgz i get this
    bt ~ # cat /var/log/packages/cnijfilter-common-2.70-1.i386 | grep pstocanonij
    usr/lib/cups/filter/pstocanonij
    bt ~ #

    ReplyDelete
  13. hi it's me again damned@indobacktrack.or.id or idam_ned@yahoo.co.id
    i do it, but i get error like this
    bt ~ # cat /var/log/packages/cnijfilter-common-2.70-1.i386.tgz | grep pstocanonij
    cat: /var/log/packages/cnijfilter-common-2.70-1.i386.tgz: No such file or directory

    if i not put in .tgz i get this
    bt ~ # cat /var/log/packages/cnijfilter-common-2.70-1.i386 | grep pstocanonij
    usr/lib/cups/filter/pstocanonij
    bt ~ #

    ReplyDelete
  14. ahh yes, my mistake. It should not end with .tgz

    have you read the article again? It's already being updated

    ReplyDelete
  15. can u help to share the printer mas willy? i try to share it to 'jendela' but i cant. i figure the printer thru the KDE printer menu not cups. my cups is error.

    ReplyDelete
  16. then you should use Samba then
    configure it on CUPS to set the printers and then set it on Samba to share it for Windows users

    ReplyDelete
  17. @rajamalingjagung
    Coba cara saya disini om, mungkin bisa :)

    ReplyDelete