Successfully tested on Ubuntu Server 10.04 LTS 64-bit

Today’s mission is to install a scanner (EPSON Perfection V200 Photo) which will be used locally on the server. As you’ll see, it’s pretty easy.

Download the driver and other packages specific to the EPSON Perfection V200 Photo scanner at EPSON Support website:

iscan_*.ltdl7_amd64.deb
iscan-data_*_all.deb
iscan-plugin-gt-f670_*_amd64.deb

Install them:

dpkg -i iscan*.deb

 
In case of dependencies errors during the installation, correct them using the following command:

apt-get -f install

 
Verify the presence of the /etc/sane.d/dll.d/iscan file which should contain a single line:

epkowa

 
epkowa is the name of the backend used by SANE to control the scanner. If the iscan file is not there, edit /etc/sane.d/dll.conf and add or uncomment the following line:

epkowa

 
Now set access permissions to the device by creating a new file /etc/udev/rules.d/40-saned.rules with a udev rule which will automatically assign the scanner to the saned group

# Epson Perfection V200 Photo
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012e",GROUP="saned"

(ATTRS values can be found using the lsusb command)

and reload the ACL:

udevadm trigger

 
Each local user will have to be added to the saned group before he can access the scanner:

usermod -aG saned username

 
One last modification can also be done to /etc/sane.d/epkowa.conf but it seems not to be mandatory:

usb
#scsi

 
OK, we’re almost done! Let see if we can access the scanner:

sane-find-scanner

 
should return something similar to:

found USB scanner (vendor=0x04b8 [EPSON], product=0x012e [EPSON Scanner]) 
at libusb:002:003

 
Great! Now we can install a command-line frontend named scanimage which is included in the sane-utils package

apt-get install sane-utils

 
and try if it sees the scanner:

scanimage -L

 
If everything went fine, the answer should look like:

device `epkowa:interpreter:002:003' is a Epson Perfection V200 flatbed sca
nner

 
To scan for real, place a document in the scanner and type:

scanimage --format=tiff > test.tif

 
The scan is made using all the default parameters of the device and placed in the current directory.

That’s all Folks!


For further reading, see the SANE project website.

Advertisements