Canon iP4300

From ArchWiki
Revision as of 22:12, 28 February 2008 by Bavardage (Talk | contribs)

Jump to: navigation, search

Introduction

This is a brief summary of the ways that the Canon iP4300 printer can be made to work with arch. As the printers are very similar, these techniques would very likely work with the iP4200 also.

Requirements

The following packages will very likely be needed:

  • cups
  • ghostscript
  • gsfonts

Install with:

# pacman -S cups ghostscript gsfonts

For information about setting up cups, refer to CUPS, however all that is really needed for the iP4300 is to start the cups daemon with:

# /etc/rc.d/cups start

and to add cups to the daemons line in /etc/rc.conf

Methods of getting the printer working

There are basically three options:

Proprietary Drivers

Install needed packages

You will need the package rpmextract

# pacman -S rpmextract

Now create a directory somewhere (for the sake of this tutorial let this directory be ~/canon) and cd to it.

Download drivers

Download cnijfilter-ip4300-2.70-1.i386.rpm and cnijfilter-common-2.70-1.i386.rpm from ftp://download.canon.jp/pub/driver/bj/linux/ and put into the folder you created, or:

# wget ftp://download.canon.jp/pub/driver/bj/linux/cnijfilter-common-2.70-1.i386.rpm
# wget ftp://download.canon.jp/pub/driver/bj/linux/cnijfilter-ip4300-2.70-1.i386.rpm

Now extract the rpms:

# rpmextract.sh cnijfilter-ip4300-2.70-1.i386.rpm 
# rpmextract.sh cnijfilter-common-2.70-1.i386.rpm

Now for the monotonous bit (there is probably a much quicker way to do this using scripts etc, but this way is simple and allows you to see what goes where)

Move the files

The command rpmextract.sh should have created a usr/ directory in the folder with the rpms. Copy every file in this directory's subfolders into the corresponding actual location. e.g. copy the files in ~/canon//usr/lib/ to /usr/lib/ Do this for all files in all subdirectories (however I as my language is english, I didn't bother copying the locale folder in ~/canon/usr/local/share and everything still seems to work fine.

Install the printer with CUPS

If cups is not already running, start it with

# /etc/rc.d/cups start

Now point your browser of choice at http://localhost:631 This should present the cups web interface. If not, ensure that cups is started (see above) and that your hosts are set-up correctly (or see the CUPS article).

  • Click Add Printer
  • Fill in the Name, Description and Location (not really very important)
  • Choose the connection method for your printer, and fill in any details required for this.
  • Now you will be prompted for a Make/Manufacturer - choose Provide a ppd file (click browse)
  • Navigate to /usr/share/cups/model/ and choose canonip4300.ppd

There. All done

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Canon iP4300#)

Gutenprint

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Canon iP4300#)

Turboprint

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Canon iP4300#)