Canon multifunction printer: getting the printer drivers and scanner to work in debian/ubuntu/mint

Thursday, 07 October 2010

I just installed a Canon multifunction printer(MP210) in Linux Mint (based on debian squeeze/sid, i.e 'debian testing' at this time) Here's how I got the printing and scanning to work.

There were some issues:

First of all the PRINTER drivers (which are in fact a couple of .deb packages inside another archive)  were complaining about a missing libcupsys2

The fix was unpacking the .deb packages(I used the graphical Archive manager from Gnome/Nautilus) , editing DEBIAN/control in the unpacked driver and changing libcupsys2 to libcups2.

After editing both DEBIAN/control files, the drivers had to be repackaged as .deb using

deb -b <unpacked_folder_name>

After these operations, you can install the deb files with 

deb -i <package_name.deb>

, first the package containing -common, then the one containing your device's name.

If dpkg complains about the original packages(which you may have tried to install) being unconfigured, remove them first with

apt-get -f remove <old_package_name>

Okay. The Linux printer test page was fine, aside from the black rectangle being printed at(or maybe passing a little over) the right edge of the paper.

Next step was getting the MP210 multifunction printer/scanner to scan something.

SimpleScan(which is included in Linux mint) said it cannot acces the device. 

I installed XSane and tried again. This time the error was a bit more explicit, stating that the app doesn't have the required permissions to access the scanner.

Google took me(after many minutes) to this post about xsane-pixma, which was the rigtht fix for my little trouble :

The solution is adding an udev rule in

/etc/udev/rules.d, i.e creating the file

/etc/udev/rules.d/40-scanner-permissions.rules

and pasting this text inside it:

# usb scanner
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE:="0666"
SUBSYSTEM=="usb_device",MODE:="0666"

This is sets read-write permissions on USB devices, maintaing behavior after reboots(persisting the rules, you may say)

Next I changed  file permissions so udev can read it

chmod 0644 /etc/udev/rules.d/40-scanner-permissions.rules

,and finally reloaded udev to reflect my changes:

/etc/init.d/udev reload

Voila, XSane worked, everything is ok.



Give us some social love (it really works now)!

Reddit! Del.icio.us! StumbleUpon! Yahoo! Swik!



Be first to comment this article
RSS comments

Write Comment
  • Please keep the topic of messages relevant to the subject of the article.
  • Please don't use comments to plug your web site. Links are rel='nofollow'-ed
  • Please refresh the page if you're having trouble with the security image code
Name:
E-mail
Homepage
Title:
Comment:

:) :grin ;) 8) :p
:roll :eek :upset :zzz :sigh
:? :cry :( :x
Code:* Code

Last Updated ( Thursday, 07 October 2010 )
 
Post and Bid on Joomla/PHP projects! Join EUFreelance.com for free!

Europe freelancer directory

Newsletter

Subscribe to TeachMeJoomla's newsletter
Name:
Email:


Auto tags

canon IR2318l scanner driver

canon ir2318l scanner software

how to use the scanner cannon ir2318l for ubuntu

canon mp210 driver scanner

canon mp210 originale software

canon multifunction printer driver

canon ir2318l driver

canon ir2318l driver for debian

how to make canon mp210 work in linux mint

canon ir2318l imaging scanner driver

linux mint printer driver

canon printer drivers mint linux

scanner debian canon ir2318l

how to scan in canon ir2318l

canon ir2318l linux

linux mint printer drivers canon

Canon printer on mint linux

scanner driver for canon ir2318l

how to uninstall a canon driver in linux

Canon ir2318l scanner

linux mint uninstall printer driver

CANON SCANNER PRINTER DRIVER