[sane-devel] how to configure/scan with an Epson Xp-4100 printer/scanner

Marco Fioretti mfioretti at nexaima.net
Wed Nov 4 18:07:09 GMT 2020


Greetings,
I just received an Epson XP-4100 multifunction printer, and connected it to an Ubuntu 20.04 desktop, with all updates installed, as well as the packages sane and sane-utils
Printing works fine, scanning does not.  lsusb, scanimage and avahi browse do list the scanner (see outputs below), and its web interface of the scanner is reachable at http://127.0.0.1:60000/ 
However:
* the Epson imagescan package does not find any device.
* the web interface at Product Status -> Network says 
	Device Name :
	EPSON309A2B
	Connection Status :
	Disable
and I can't find any way to enable it from there

* if I run scanimage I get "scanimage: sane_start: Invalid argument" (see details below)

* skanlite sees the scanner, but cannot actually scan: it just makes it click for a few minutes, during which the scanner display says "Scanning the original", then aborts, just like scanimage (see its output below)
I have configured and used lots of scanners under Linux for years including shell scripts to scan lots of documents, but honestly I have no idea what to do how or check next to make scanning work this time... Any advice is very welcome
Thanks in advance,
Marco
COMMAND OUTPUTS:
#> lsusb...

Bus 001 Device 005: ID 04b8:1137 Seiko Epson Corp. XP-4100 Series
#> scanimage -L
device `escl:http://127.0.0.1:60000' is a ESCL XP-4100 Series [583642553130313920] flatbed scanner
#> avahi-browse -rt _uscan._tcp
+     lo IPv4 XP-4100 Series [583642553130313920]           _uscan._tcp          local
=     lo IPv4 XP-4100 Series [583642553130313920]           _uscan._tcp          local
   hostname = [polaris.local]
   address = [127.0.0.1]
   port = [60000]
   txt = ["txtvers=1" "vers=2.63" "rs=eSCL" "ty=EPSON XP-4100 Series" "pdl=application/pdf,image/jpeg" "cs=binary,grayscale,color" "duplex=F" "adminurl=http://127.0.0.1:60000/PRESENTATION/BONJOUR" "UUID=cfe92100-67c4-11d4-a45f-381a52309a2b" "note=" "representation=http://127.0.0.1:60000/icon.png"]
#> scanimage -d "escl:http://127.0.0.1:60000" -p --format=tiff --mode=Color --resolution=1200dpi > gigio.tiff
Capability : [(null)]
Capability : [image/jpeg]
scanimage: rounded value of resolution from 1200 to 1200
scanimage: rounded value of br-x from 0 to 0
scanimage: rounded value of br-y from 0 to 0
scanimage: sane_start: Invalid argument
#> skanlite
"deviceOption value="
("image/bmp", "image/jpeg", "image/png", "image/tiff", "image/vnd.microsoft.icon", "image/vnd.wap.wbmp", "image/webp", "image/x-eps", "image/x-icns", "image/x-pcx", "image/x-pic", "image/x-portable-bitmap", "image/x-portable-graymap", "image/x-portable-pixmap", "image/x-rgb", "image/x-tga", "image/x-xbitmap", "image/x-xpixmap")
"escl:http://127.0.0.1:60000"
"escl:http://127.0.0.1:60000"
Capability : [(null)]
Capability : [image/jpeg]
"escl:http://127.0.0.1:60000"
"escl:http://127.0.0.1:60000"
sane_start= Invalid argument
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20201104/c1c3a40e/attachment.html>


More information about the sane-devel mailing list