Scanner Epson XP-640, drivers

http://download.ebz.epson.net/dsc/search/01/search/searchModule http://support.epson.net/linux/en/imagescanv3.php?version=1.3.28#linux_mint

ça installe ImageScan en mode GUI, mais aussi en mode…

CLI, avec imagescan (et peut-être sane-find-scanner)

Explications ici > https://help.ubuntu.com/community/SANE%20-%20Installing%20a%20scanner%20that%20isn%27t%20auto-detected

Pour nous

sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.

could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x04b8, product=0x1117) at libusb:001:005
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.

C’est donc ça qui nous intéresse

found USB scanner (vendor=0x04b8, product=0x1117) at libusb:001:005

Ensuite, il faut éditer la config de sane, la config Epson de Sane pour être précis

gksudo pluma /etc/sane.d/epson.conf

Dans le fichier, on cherche la ligne :

usb

qui devient ça

usb 0x04b8 0x1117

On sauvegarde, on quitte. Une fois ça fait, dans le terminal

scanimage -L

On doit voir ça

device 'imagescan:esci:usb:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0' is a EPSON XP-640_Series

C’est gagné ! Donc, là, pour scanner, on fait :

scanimage > image.pnm

Scanner à 150dpi

scanimage --resolution 150 > image.pnm