Sunday, October 07, 2007

install iP1500 on Ubuntu 7.04 Feisty Fawn

$sudo vi /etc/apt/sources.list
add this line “deb http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu ./” and save with “wq!”
$sudo apt-get update
$sudo apt-get install libcnbj-2.5 bjfilter-2.5 pstocanonbj
System > Administration > Printing, Add Printer, Select from List

Everything went ok. I've already had all needed deps. If you are not that lucky and something says 'failed dependencies' try fixing it with apt-get install or apt-get -f install.
After that I suggest creating symlinks:

Code:
$cd /usr/lib
$sudo ln -s libpng12.so.0 libpng.so.2
$sudo ln -s libtiff.so.4 libtiff.so.3
$sudo ln -s libxml2.so.2 libxml.so.1
Without these symlinks the printer will install succesfully but it won't print anything (and I also haven't found anything in cups error logs).

This step is optional but advised - change the .ppd file to get other resolutions (300x300, 1200x1200).
I modified file /usr/share/cups/model/canonpixmaip1500.ppd
(don't forget to backup before changing!)
here's a diff of new and old ppd files:
Code:
105a106
> *Resolution 300/300 dpi: "<>setpagedevice"
106a108
> *Resolution 1200/1200 dpi: "<>setpagedevice"
108a111,118
> *OpenUI *CNQuality/Quality: PickOne
> *DefaultCNQuality: 3
> *CNQuality 2/High: "2"
> *CNQuality 3/Normal: "3"
> *CNQuality 4/Standard: "4"
> *CNQuality 5/Economy: "5"
> *CloseUI: *CNQuality
>
Now turn the printer on and restart cups
Code:
/etc/init.d/cupsys restart
It's time to add a printer to the system so
Code:
$gnome-cups-manager
or if you don't have gnome try using the cups web interface (on localhost)
The printer should be detected as "Canon iP1500" and you should select driver "PIXMA iP1500 Ver.2.50".
That's it!

No comments: