with Ubuntu 7.04 (Feisty Fawn
guide is an update based on the installation guide for the Canon Pixma
iP4200 printer that is on the official Ubuntu help pages at:
The guide like that is based on does
not work for AMD64 because Canon's drivers are for 32 bit only.
1. allow for the download of the iP4300 drivers from:
2. Code changes to allow for the iP4300 drivers
rather than the iP4200
3. The omission of Step 4 in the iP4200 guide as the
downloaded files are in an rpm format already.
4. The addition of a -c option in the code in the new
step 4 which has been found necessary for success.
You need a working installation of Ubuntu and a connected Canon Pixma
iP4300 printer. This is best connected directly to the Ubuntu pc
until you are competent with the with the install. Then with a
minor variation the procedure will work with a networked printer
connected to another pc.
2. Entering Code via
the terminal. To open the terminal click on "Applications" on the
top left of your screen, select "Accessories" and then "Terminal"
to give you:
enter the code in this terminal window it is best copy and pasted
direct from the guide so as to avoid typing errors in the code.
1. Connect your printer, start Ubuntu, open this guide in a Firefox
window and open a Terminal window as above.
Install the needed packages: alien, libxml1, libpng12-0, libpng12-dev,
libgtk1.2 and libgtk1.2-common by copying the code below and then paste
into your Terminal window.
Copy the code from this guide and paste it into your Terminal window.
Tip: Copying & Pasting:
sudo apt-get install alien libxml1 libpng12-0 libpng12-dev libgtk1.2
Ubuntu 8.10 Intrepid Ibex
In Ubuntu 8.10 where libxml1 has been replaced with libxml2 instead of
the above code use the following:
sudo apt-get install alien libxml2 libpng12-0 libpng12-dev libgtk1.2
copying and pasting the code press "Enter". This will bring up a
prompt asking for your password. Type in your password and press
"Enter". Note when you are typing in your password nothing extra
will show on screen. This is normal in Terminal for your password.
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. In my case they need to be in
Download from: http://www.canon.com.au/products/printers/colour_bj_printers/ip4300_support.aspx
Select "Driver Downloads" and then "iP4300 Printer Driver Ver.
the Popup Window is a long licence agreement and the files are st the
bottom of the page. The files needed for download are:
You may also if you wish download one of the Operation Guide files.
Unless you have changed the download options for Firefox the 2 files
will probably be on your Desktop.
To move them from there first go to Places/Home Folder:
the File Browser window opens click on File/Create Folder. This
will create an "untitled folder" in the browser window. Type in
its name "canon". Note: no CAPITALS and no quote marks (").
double click the "Desktop" icon, click on the first of the 2 downloaded
files to select it and then while holding down the "Shift" key click on
the second to select it as well. Then Edit/Cut to remove them
from this location.
the Up arrow
to get back to your Home Folder. then double click on the icon
for the "canon" folder. When it opens go to the Edit/Paste menu
to paste the 2 files into this folder.
4. Convert the RPM packages to
This is done in the Terminal window.
change to the canon folder where we put the downloaded files.
Copy and paste this code into your terminal window and press
To make sure you are in the correct folder enter this code:
You should then see:
do the conversion from rpm files to deb files copy and paste this code
terminal and press "Enter". If necessary re-enter your password.
|sudo alien -c
In your File Browser window you should now see 2 new files in the
"canon" folder. They are:
Install the Packages:
In Terminal enter this code:
6. Make sure
the library links are correct by entering this code in Terminal:
|sudo ln -s
|sudo ln -s
|sudo ln -s
7. Restart CUPS
(Common Unix Printing System)
with this code in terminal:
8. Add New
There is a graphical user interface for this. Go to the menu
and it brings up:
Double click to "New Printer" icon:
and accept Canon iP4300 (canon iP4300 USB#1) or whatever connection
your printer comes up as connected to.
Under Manufacturer select "Canon" and click on "Install driver"
In the window that follows you have to navigate to
/usr/share/cups/model/ where you should find canonip4300.ppd
To do this double click on "File System" and in th righthand window
scroll down to "usr"
double click "usr"
click "share", in the next window scroll down to "cups", double click
it, then scroll down to "model" and double click it to get:
Click canonip4300.ppd and "Open".
In the window that follows scroll down until you find iP 4300 Ver.2.70,
select it and click forward.
Give the printer a name and a location that has a meaning for you and
You will need to set the paper size and should now be able to print a
If you now go to System/Administration/Printing, right click the
printer and select "Make Default".
firefox and set the paper size the same as you set in the printer
properties. If you don't the system gets confused and print jobs
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
|gksudo gedit /etc/cups/ppd/iP4300-Ver.2.70.ppd
Insert these lines in the file after the "Resolution" section:
*OpenUI *CNQuality/Quality: PickOne
*CNQuality 2/High: "2"
*CNQuality 3/Normal: "3"
*CNQuality 4/Standard: "4"
*CNQuality 5/Economy: "5"
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"