Introduction

This is a howto for installing the Canon Pixma iP4200 printer and related printers on Ubuntu 6.06 (Dapper Drake) using the Canon supplied drivers. Some or all parts may work for other Canon printers. For the iP2200, (and some others), see: HardwareSupportComponentsPrinters/CanonPrinters/CanonPixmaIP2200

Note: This manual also works for the following printers: Canon IP5200 using the IP4200 drivers. Canon IP4300 using the IP4200 drivers.

This does not work for AMD64.

Installation

Note: You will have to accept Canon's license agreement to download the software.

1. Connect your printer, and start Ubuntu.

2. Install the needed packages: alien, libxml1, libpng12-0, libpng12-dev, libgtk1.2 and libgtk1.2-common with Synaptic or type:

sudo apt-get update
sudo apt-get install alien libxml1 libpng12-0 libpng12-dev libgtk1.2 libgtk1.2-common

3. Download the drivers for your printer from Canon. For the purposes of this howto, we will assume that the files are saved to the directory /home/yourname/canon.

The iP4200 drivers are here. You can also type in a terminal

mkdir canon
cd canon
wget http://software.canon-europe.com/files/soft24302/software/iP4200_Linux_260.tar.gz 

4. Extract the files with archive manager or type

tar -xvzf iP4200_Linux_260.tar.gz

5. Convert the RPM packages to Debian packages:

sudo alien cnijfilter-common-2.60-1.i386.rpm cnijfilter-ip4200-2.60-1.i386.rpm

6. Install the packages:

sudo dpkg -i *.deb

7. Make sure the library links are correct. /usr/lib/libtiff.so.3 should point to /usr/lib/libtiff.so.4 (or to the same thing as /usr/lib/libtiff.so.4 points to) If not, type:

sudo ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3

This is the important part! The iP4200 driver wants to use libtiff.so.3, but that is an old version. We fix this by making libtiff.so.3 a link to libtiff.so.4.

Also, /usr/lib/libpng.so.3 should point to /usr/lib/libpng.so If not, type:

sudo ln -s /usr/lib/libpng.so /usr/lib/libpng.so.3

and /usr/lib/libxml2.so.2 should point to /usr/lib/libxml.so.1 If not, type:

sudo ln -s /usr/lib/libxml2.so.2 /usr/lib/libxml.so.1

And finally make the loader aware of the changes:

sudo ldconfig

8. Restart cups:

sudo /etc/init.d/cupsys restart

9. Add a new printer. Under GNOME, this is accessed in System|Preferences|Printing. Select Canon as the manufacturer, click on "Install Driver..." and select /usr/share/cups/model/canonip4200.ppd. Now select "iP4200 Ver.2.60" under "Model". Select "Standard" for the driver (this should be the only option). Make sure the connection is correct. Hopefully, printing a test page will work!

Advanced Features

Unfortunately, the installed PPD file doesn't allow you to select the printing quality. To fix this, back up your ppd file, then open it as root: gksudo gedit /etc/cups/ppd/iP4200-Ver.2.60.ppd 

Insert these lines in the file after the "Resolution" section:

*OpenUI *CNQuality/Quality: PickOne
*DefaultCNQuality: 3
*CNQuality 2/High: "2"
*CNQuality 3/Normal: "3"
*CNQuality 4/Standard: "4"
*CNQuality 5/Economy: "5"
*CloseUI: *CNQuality

The following gives a greater choice of print resolution if added to the "Resolution" section, but I am not clear whether the Quality setting impinges upon this. Note that the ip4200 only offers 600dpi in black and white.

*Resolution 1200/1200 dpi: "<</HWResolution[1200 1200]>>setpagedevice"
*Resolution 2400/2400 dpi: "<</HWResolution[2400 2400]>>setpagedevice"
*Resolution 4800/4800 dpi: "<</HWResolution[4800 4800]>>setpagedevice"

(from http://gentoo-wiki.com/Canon_Pixma_Series)

N.b. neither of these modifications is done in the unofficial packages provided by: http://mambo.kuhp.kyoto-u.ac.jp/~takushi/

After this, restarting cups should enable the changes sudo /etc/init.d/cupsys restart

To perform maintenance on the printer, such as head cleaning, type in a terminal: cngpij -P iP4200-Ver.2.60

You may want to add this to your menu, since it is a real pain to remember. In the window that pops up, select "Maintenance".


CategoryHardware

HardwareSupportComponentsPrinters/CanonPrinters/CanonPixmaIP4200 (last edited 2011-04-17 10:56:48 by giuseppeterrasi)