Giter Site home page Giter Site logo

canon-ip2600_drivers's Introduction

Canon iP2600 drivers for Linux

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.

Patching (You can skip if you download the ones provided in the debian folder)

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.

  1. You can skip this by downloading the already patched drivers:
  2. Download the drivers from canon's website
  3. 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 file
    • dpkg-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

Installing

  1. Install qemu-user-static if you are running this on an arm machine
  2. 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
    
  3. 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
    
  4. Install libpng12 from the provided .deb file
  5. Install multiarch-support (libtiff4 dependency) from the provided .deb file
  6. Install libtiff4 from the provided .deb file
  7. 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:

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).”

canon-ip2600_drivers's People

Contributors

gamesmes90 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.