[SOLVED] Epson WF-3520 "Could not send command to scanner"

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
rsholmes
Level 2
Level 2
Posts: 58
Joined: Sat Jun 30, 2018 8:31 am

[SOLVED] Epson WF-3520 "Could not send command to scanner"

Post by rsholmes »

I am trying to get the scanner side of my wifi connected Epson WF-3520 working with Linux Mint 19 Cinnamon.

I downloaded iscan-bundle-1.0.4.x64.deb.tar.gz from Epson, extracted, and ran the install script. No errors noted. Packages iscan_2.30.3-1_amd64, iscan-data_1.39.0-1_all, and iscan-network-nt_1.1.1-1_amd64 were installed.

Per viewtopic.php?t=221071 I also did

apt-get install sane sane-utils libsane-extras xsane

Per viewtopic.php?f=42&t=225289 I edited /etc/sane.d/dll.conf and /etc/sane.d/epkowa.conf .

After reboot with firewall disabled, iscan still says "Could not send command to scanner. Check the scanner's status."
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: Epson WF-3520 "Could not send command to scanner"

Post by kyphi »

With the unit powered on, does scanimage -L identify your WF-3520 correctly? Does Simple Scan work ?
Linux Mint 21.3 Cinnamon
rsholmes
Level 2
Level 2
Posts: 58
Joined: Sat Jun 30, 2018 8:31 am

Re: Epson WF-3520 "Could not send command to scanner"

Post by rsholmes »

kyphi wrote: Sun Jul 15, 2018 7:35 pm With the unit powered on, does scanimage -L identify your WF-3520 correctly? Does Simple Scan work ?
No, and no.

Code: Select all

$ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

Code: Select all

$ sudo 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
  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
Above were checked both as user and as root.
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: Epson WF-3520 "Could not send command to scanner"

Post by kyphi »

Does the scanner work when using a USB connection ?

Have you coded into the WF-3520 the pass key for your modem/router ? This is essential to enable communication between the two units.

On the Epson screen, go to Setup, press OK, use down arrow to Network Settings, press OK, go to Setup Wizard, press OK. That should list your modem/router. Press OK. On the next screen headed "Enter Password", enter the pass key of your modem/router. You will find that on the bottom of the router. When completed, use arrows to "Done" and press OK.
Press "Back" to return to Network Settings and arrow down to "Check Network Connection". When the check has been completed, you can opt to "Print a check report".
Linux Mint 21.3 Cinnamon
rsholmes
Level 2
Level 2
Posts: 58
Joined: Sat Jun 30, 2018 8:31 am

Re: Epson WF-3520 "Could not send command to scanner"

Post by rsholmes »

Yes, I've been using this WF-3520 for ages on this network, the network connection is fine. I printed the check network connection page earlier to get the IP address for epkowa.conf, and I confirmed the IP address (from the Mint machine) using ping.

And the printer function works from Mint, just not the scanner.

I haven't tried a USB connection on this computer; I don't have a cable long enough at the moment. I can temporarily move the WF-3520 closer, but it's not at all clear to me I'd learn anything from that about the failure to find it on wifi.
User avatar
all41
Level 19
Level 19
Posts: 9520
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Epson WF-3520 "Could not send command to scanner"

Post by all41 »

I will just relate my experience with Epson all in one, though not your model number.
This goes back a couple years and not sure whether still pertinent, but I found ufw
was blocking scanner communications. I had to enter ufw exceptions for both in and out.
sudo ufw allow to <ip address> and,
sudo ufw allow from <ip address>
where <ip address> was defined in the router setup page
You can temporarily disable ufw to test by:

Code: Select all

sudo ufw disable
Then retry setup of scanner.
Renable ufw by:

Code: Select all

sudo ufw enable
Everything in life was difficult before it became easy.
rsholmes
Level 2
Level 2
Posts: 58
Joined: Sat Jun 30, 2018 8:31 am

Re: Epson WF-3520 "Could not send command to scanner"

Post by rsholmes »

all41 wrote: Sun Jul 15, 2018 10:49 pm I will just relate my experience with Epson all in one, though not your model number.
This goes back a couple years and not sure whether still pertinent, but I found ufw
was blocking scanner communications. I had to enter ufw exceptions for both in and out.
sudo ufw allow to <ip address> and,
sudo ufw allow from <ip address>
where <ip address> was defined in the router setup page
You can temporarily disable ufw to test by:

Code: Select all

sudo ufw disable
Then retry setup of scanner.
Renable ufw by:

Code: Select all

sudo ufw enable
Thanks, but that's not it in my case; I already have the firewall disabled.
User avatar
all41
Level 19
Level 19
Posts: 9520
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Epson WF-3520 "Could not send command to scanner"

Post by all41 »

sorry this is not your solution. Best of luck and cheers
Everything in life was difficult before it became easy.
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: Epson WF-3520 "Could not send command to scanner"

Post by kyphi »

Using a fresh (not an upgrade) installation of Linux Mint 19 Cinnamon 64 bit and using the same drivers for my Epson Artisan (printer and scanner) as those for the WF-3520, connected via wi-fi, Simple Scan and XSane worked but Epson's Image Scan did not. Functioning of Image Scan was achieved with this terminal command sudo ln -sfr /usr/lib/sane/libsane-epkowa* /usr/lib/x86_64-linux-gnu/sane

You can try the Address Resolution Protocol program sudo apt-get install arp-scan with the following syntax sudo arp-scan --interface=X --localnet
Check your network interface with ifconfig and type it into the spot marked X, (interface=X).

sane-find-scanner does not identify wireless connections.

Erratum: Inadvertently typed "localhost" amended to read "localnet".
Linux Mint 21.3 Cinnamon
rsholmes
Level 2
Level 2
Posts: 58
Joined: Sat Jun 30, 2018 8:31 am

Re: Epson WF-3520 "Could not send command to scanner"

Post by rsholmes »

Thanks to all! After linking libsane-epkowa* into the /usr/lib/x86_64-linux-gnu/sane directory, Image Scan is now working.

Simple Scan and XSane are not. Strange. But it's Image Scan I was asking about so I will mark this as solved.

Edit to add:

After doing this:
generate '/etc/udev/rules.d/79-udev-epson.rules'
content:
# chmod device EPSON group
ATTRS{manufacturer}=="EPSON", DRIVERS=="usb", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="*", MODE="0777"
Simple Scan and XSane are working too.

Source: https://ubuntuforums.org/showthread.php?t=2383646, post # 10.
Locked

Return to “Printers & Scanners”