Guide to install iP2600 drivers on linux
The objective of this guide is to get an iP2600 printer to work on linux so it can be put on the LAN with CUPS.
This guide will discuss debian based installation only. It should be possible on arch as well if you manage to add the libraries those binaries complain about.
Because this driver is very old (Release date: 08 July 2009) the package libcupsys2 is not available anywhere anymore, but the important bit is the lib file libcups.so.2
which is available in the package libcups2. It is necessary to change this dependency so apt can find the library this driver is looking for.
- You can skip this by downloading the already patched drivers:
- Download the drivers from canon's website
- Change libcupsys2 dependency to libcups2 containing the same library as described in this tutorial (do this to both deb files)
dpkg-deb -x name-of-package.deb tmpdir
Extract the .deb filedpkg-deb --control name-of-package.deb tmpdir/DEBIAN
Extract the control file- Edit the dependency
dpkg -b tmpdir new-name-of-package.deb
Rebuild the .deb file
- Install
qemu-user-static
if you are running this on an arm machine - Enable i386 repos
sudo dpkg --add-architecture i386
sudo nano /etc/apt/sources.list
deb [ arch=i386 ] http://de.archive.ubuntu.com/ubuntu jammy-updates main deb [ arch=i386 ] http://de.archive.ubuntu.com/ubuntu jammy main universe
sudo apt-get update
- Install cnijfilter-common (all available dependencies should install automatically)
sudo dpkg --install PATCHED_cnijfilter-common_2.90-1_i386.deb
sudo apt-get install ./PATCHED_cnijfilter-common_2.90-1_i386.deb
- Install libpng12 from the provided .deb file
- Install multiarch-support (libtiff4 dependency) from the provided .deb file
- Install libtiff4 from the provided .deb file
- Install cnijfilter-ip2600series
sudo dpkg --install PATCHED_cnijfilter-ip2600series_2.90-1_i386.deb
sudo apt-get install ./PATCHED_cnijfilter-ip2600series_2.90-1_i386.deb
This should do it!
Note: you may need to change the ownership of /usr/lib/cups/filter/pstocanonij
as stated in this thread
sudo chown root:root /usr/lib/cups/filter/pstocanonij
The related status of the printer in CUPS is:
Idle - “File “/usr/lib/cups/filter/pstocanonij” has insecure permissions (0100755/uid=1000/gid=1000).”