Skip to content

Instantly share code, notes, and snippets.

@unfulvio
Created July 5, 2017 04:14
Show Gist options
  • Select an option

  • Save unfulvio/e8daa0a78482a03e0358b0f5afee8b03 to your computer and use it in GitHub Desktop.

Select an option

Save unfulvio/e8daa0a78482a03e0358b0f5afee8b03 to your computer and use it in GitHub Desktop.
Get Epson iScan to work in Ubuntu with a networked/wireless scanner

If you see this error upon starting iScan aka "Image Scan for Linux":

“Could not send command to scanner. Check the scanner’s status.”

It means the iScan couldn't find the scanner. This happens often if it's not connected via USB, but lives in a wireless network for instance.

Do the following:

cd /etc/sane.d/
sudo gedit dll.conf

This will open the main configuration file for the SANE dynamic backend loader.

Ensure these entries are listed and uncommented inside the configuration file:

epkowa net

Take note of any other entries referencing Epson. Having them commented or uncommented can help troubleshooting later if iScan can't still connect.

Ensure that /etc/sane.d/epkowa.conf is properly configured. Normally you could use net autodiscovery value but that might not work:

net autodiscovery

If that doesn't work you need to assign a fixed IP to the scanner unit and add it like so in the epkowa.conf configuration file:

net 192.168.xx.xx

Note that this is obviously an example address. It's normally a local address value.

Save the files and check if now iScan connects. If you still have issues ensure you have downloaded the latest drivers from Epson: http://download.ebz.epson.net/dsc/search/01/search/.

You can also try commenting/uncommenting other Epson values from the dll.conf file.

@Fperdreau

Copy link
Copy Markdown

lechndo: It did work on my Ubuntu 18.04 LTS installation as well. Thanks a lot!

@Ron-Deen

Copy link
Copy Markdown

Followed these instructions for my Epson XP-860. Worked flawlessly the first time.
Note that the "net autodiscovery" did nor work for me and I had to use the fixed IP address with the default port.
So: thanks

@cryptogopher

cryptogopher commented Sep 10, 2020 •

Copy link
Copy Markdown

Scanning through WiFi on newer Epson scanners (e.g. XP-342) requires utsushi backend (as opposed to net or epkowa). It is available in imagescan v3 AFAIK (some distros package it separately, e.g. Gentoo has iscan-plugin-network-nt package that must be installed separately).
Once you have it, make sure it is added to /etc/sane.d/dll.conf:

utsushi

Then you need to create /etc/utsushi/utsushi.conf with description of your scanner. It should look like that:

[devices]
scanner.udi = esci:networkscan://<IP>:1865
scanner.vendor = Epson
scanner.model = Your-Model

Actually only udi is required and you can omit vendor and model.

After that your scanner should be discoverable:

$ scanimage -L
device `utsushi:esci:networkscan://<IP>:1865' is a <your scanner vendor and model>

@streamnsight

Copy link
Copy Markdown

for those interested, more stuff here:
https://wiki.archlinux.org/index.php/SANE/Scanner-specific_problems#Driver-Backends

Now, on my end I am using a wireless scanner, and it has a scan button.
I'd really like to know how I can make use of the scan button with imagescan

I read there is a service called Epson Network Monitor supposed to trigger the software when the button is pressed, but I don't see a linux version or any info about this service.
If anyone knows anything about this, I'd love to figure this out.

@megamaced

megamaced commented Nov 2, 2020 •

Copy link
Copy Markdown

thank you for this guide,

in my case, just replace any reference of epkowa with epson2 and then use xsane

Tested on opensuse tumbleweed

@ngocminhdao88

Copy link
Copy Markdown

For my Epson ET-2750 i used the epsonds backend with fixed IP address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment