Total Pageviews

Sunday, October 07, 2007

Installation of Canon Pixma 4300 under Debian Linux using CUPS

I bought a new printer (Canon Pixma 4300) and had a few problems installing it under Debian Linux. I found a very good installation instruction and I would like to share it with you.

Install necessary packages

sudo apt-get install alien libxml1 libpng3 libtiff4

Download original drivers


Convert RPMs into Debian packages

sudo alien -d cnijfilter-common-2.70-1.i386.rpm
sudo alien -d cnijfilter-ip4300-2.70-1.i386.rpm --scripts
sudo dpkg -i nijfilter-common-2.70-1.i386.deb
sudo dpkg -i cnijfilter-ip4300-2.70-1.i386.deb

Create symlinks

sudo ln -s /usr/lib/ /usr/lib/
sudo ln -s /usr/lib/ /usr/lib/

Restart CUPS

sudo ldconfig
sudo /etc/init.d/cupsys restart