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

Alexander Pevzner pzz at apevzner.com
Wed Nov 4 19:47:36 GMT 2020


Hi Marco,

On 11/4/20 9:07 PM, Marco Fioretti wrote:
> 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

First thing to do, you need to replace ippusbxd package with ipp-usb. It 
works MUCH more reliable. Om a next version of Ubuntu it would happen 
automatically, but for now you should do it by yourself.

Prebuild ipp-usb packages can be loaded from here:

https://download.opensuse.org/repositories/home:/pzz/

And project page is located here:

https://github.com/OpenPrinting/ipp-usb

After that, there is a good chance that the sane-escl driver will work 
with your scanner. If it won't, you may consider installing sane-airscan 
driver from here:

https://download.opensuse.org/repositories/home:/pzz/ (binary packages)
https://github.com/alexpevzner/sane-airscan (project page)

It will also come automatically with the never version of Ubuntu, but 
not with 20.04

> 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/
> <http://127.0.0.1:60000/PRESENTATION/HTML/TOP/PRTINFO.HTML>
> 
> 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


-- 

	Wishes, Alexander Pevzner (pzz at apevzner.com)



More information about the sane-devel mailing list