Wednesday, 17 October 2012

Centos 6/RHEL install Canon Lide 20 Scanner

If you use a Canon USB scanner, then it should be easy to set up in Centos 6/RHEL

$ yum search all sane

sane-backends-devel.i686 : SANE development toolkit
sane-backends-libs.i686 : SANE libraries
sane-backends-libs-gphoto2.i686 : SANE libraries for gphoto2
xsane.i686 : X Window System front-end for the SANE scanner interface
xsane-common.i686 : Common files for xsane packages
xsane-gimp.i686 : GIMP plug-in providing the SANE scanner interface
libsane-hpaio.i686 : SANE driver for scanners in HP's multi-function devices
sane-backends.i686 : Scanner access software
sane-frontends.i686 : Graphical frontend to SANE

I use the Xsane program as it is in the repo and has a plugin for Gimp although you should just be able to use the sane backend if you prefer

Check your device is detected with a Linux command.

$ sudo lsusb

Bus 006 Device 002: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20

Now install the packages

$ sudo yum -y install xsane xsane-common xsane-gimp

Reboot the computer and check for your device using Xsane.

$ scanimage -L

device `plustek:libusb:006:002' is a Canon CanoScan N670U/N676U/LiDE20 flatbed scanner

Now you can open up Gimp and run it from there using the create dialogue, or issue the command

$ xsane

See Fluxbox key bindings for more if using it.