Scanning with a wi-fi printer does not work

Operating System: openSUSE Tumbleweed 20240425
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-1-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 9 5900HX with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: MINIPC PN52

I use an Epson ET-2720 printer and I have installed the Turboprint program on my computer. See the picture below.


Printing with Turboprint works fine, but I can’t scan anything.
I’ve tried to install an image reader on Yast, but I get a message: image reader not found.

The configuration is as follows:

Tumbleweed <— LAN —> TP-LINK Deco X50-5G <— wi-fi ----> Epson ET-2720

kone1:~ # nmap -sS 192.168.68.53
Starting Nmap 7.94 ( https://nmap.org ) at 2024-04-27 17:41 EEST
Nmap scan report for 192.168.68.53
Host is up (0.032s latency).
Not shown: 995 closed tcp ports (reset)
PORT     STATE SERVICE
80/tcp   open  http
443/tcp  open  https
515/tcp  open  printer
631/tcp  open  ipp
9100/tcp open  jetdirect
MAC Address: E0:BB:9E:AB:4F:D9 (Seiko Epson)

Nmap done: 1 IP address (1 host up) scanned in 1.07 seconds
kone1:~ # 
kone1:~ # 
kone1:~ # lpinfo -v
network beh
file cups-brf:/
network smb
network ipps
network http
network ipp
network lpd
network https
network socket
network bjnp
kone1:~ # 
kone1:~ # 
kone1:~ # nmap -p 9100,515,631 192.168.68.53/24 -oX printers.xml
Starting Nmap 7.94 ( https://nmap.org ) at 2024-04-27 17:43 EEST
Nmap scan report for 192.168.68.1
Host is up (0.0012s latency).

PORT     STATE  SERVICE
515/tcp  closed printer
631/tcp  closed ipp
9100/tcp closed jetdirect
MAC Address: 3C:52:A1:58:9F:C4 (Unknown)

Nmap scan report for 192.168.68.51
Host is up (0.069s latency).

PORT     STATE  SERVICE
515/tcp  closed printer
631/tcp  closed ipp
9100/tcp closed jetdirect
MAC Address: 62:4F:B8:BC:4F:DF (Unknown)

Nmap scan report for 192.168.68.53
Host is up (0.012s latency).

PORT     STATE SERVICE
515/tcp  open  printer
631/tcp  open  ipp
9100/tcp open  jetdirect
MAC Address: E0:BB:9E:AB:4F:D9 (Seiko Epson)

Nmap scan report for 192.168.68.50
Host is up (0.000059s latency).

PORT     STATE  SERVICE
515/tcp  closed printer
631/tcp  open   ipp
9100/tcp closed jetdirect

Nmap done: 256 IP addresses (4 hosts up) scanned in 2.22 seconds
kone1:~ # 

kone1:~ # systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
     Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; preset: disabled)
     Active: active (running) since Sat 2024-04-27 00:59:09 EEST; 16h ago
       Docs: man:firewalld(1)
   Main PID: 1238 (firewalld)
      Tasks: 2 (limit: 4915)
        CPU: 233ms
     CGroup: /system.slice/firewalld.service
             └─1238 /usr/bin/python3 /usr/sbin/firewalld --nofork --nopid

Apr 27 00:59:09 kone1 systemd[1]: Starting firewalld - dynamic firewall daemon...
Apr 27 00:59:09 kone1 systemd[1]: Started firewalld - dynamic firewall daemon.
kone1:~ #

Did you try and use the YaST - Hardware - Scanner module?

Yes I tried but “The driver did not recognize the image readers”

Turboprint is for printing.

Have you downloaded and installed the Linux drivers from Epson?

2 Likes

I have used Turboprint for many years because I like that it can be linked with GIMP and that the print size, paper type, etc. can be easily adjusted.
I have downloaded and installed the driver from the Epson site, but only for the Scanner.

Stop the firewall temporarily with

sudo systemctl stop firewalld

and then check for discovered scanners with

scanimage -L

Report back.

1 Like

For network devices, you can explicitly add the IP of the device in the /etc/sane.d/epson2.conf file. (I assume that you’re using the correct scanner driver based on what you shared above.)

Add an entry to the config file using an editor as root

net 192.168.68.53

Save when done and test scanning again with your preferred app.

BTW, best to reserve the assigned IP address in the router so that it doesn’t change unintentionally in the future (eg if using DHCP).

I changed the modem/router to Huawei because the Deco was too modern for me (the settings had to be done via a mobile phone…). The IP addresses have therefore changed from 192.168.68.x → 192.168.8.y.

Of course, I have reinstalled the Epson ET-2720 and uninstalled Turboprint, but the scan still does not work. Only ping works, but that’s something too.
If I install the printer permanently with a USB cable, everything works.

kone1:~ # ping 192.168.8.103
PING 192.168.8.103 (192.168.8.103) 56(84) bytes of data.
64 bytes from 192.168.8.103: icmp_seq=1 ttl=64 time=89.6 ms
64 bytes from 192.168.8.103: icmp_seq=2 ttl=64 time=2.58 ms
64 bytes from 192.168.8.103: icmp_seq=3 ttl=64 time=2.62 ms
^C
--- 192.168.8.103 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 2.583/31.615/89.646/41.033 ms
kone1:~ # 

kone1:~ # 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).
kone1:~ # 

kone1:~ # cat /etc/sane.d/epson2.conf
# epson2.conf
#
# here are some examples for how to configure the EPSON2 backend

# SCSI
scsi EPSON
# for the GT-6500:
#scsi "EPSON SC"

# Parallel port
#pio 0x278
#pio 0x378
#pio 0x3BC

# USB
usb

# For libusb support for unknown scanners use the following command
# usb <vendor ID> <product ID>
# e.g.:
# usb 0x4b8 0x110

# Network
#
# net 192.168.1.123
# net autodiscovery
net 192.168.8.103
kone1:~ # 

The firewall was inactive when you ran scanimage?

Yes, i stopped the firewall before i took those prints.
I sent an e-mail to the Epson importer to ask if the printer supports scanning over wifi. I will let you know what the importer replies.

Whether connected by Wi-Fi or Ethernet cable is irrelevant. It is a network connected device, and you’ve already established working printing functionality.

I also wonder about this situation.
Since I couldn’t get the scanning to work via wifi, I switched the USB cable back to the Epson printer and the scanning works again.
I don’t understand what the difference is between printing and scanning. You would think that the computer sends a command and Epson acts accordingly.

It occurred to me that have I been wrong all along that the printing works because I have been using Turboprint. Turboprint communicates with Epson using the LPD protocol… So I don’t know if “native” (=not Turboprint) printing works at all. :confused:

When the multi-function device is connected via USB, please run scanimage again

scanimage -L

I’m not sure what you mean with respect to the printer configuration working or not. Either it does, or it doesn’t. In any case, you can verify printer status using

lpstat -t

and verify the current CUPS driver (Turboprint or otherwise) using

egrep -i "name|model|filter" /etc/cups/ppd/*

If you have more than one driver configured, they will be reported accordingly.

Here are the output.

kone1:~ # 
kone1:~ # 
kone1:~ # scanimage -L
device `epsonscan2:ET-2720 Series:003:005:esci2:usb:ES018F:4439' is a EPSON ET-2720 Series:003:005 flatbed scanner
kone1:~ # 
kone1:~ # 
kone1:~ # lpstat -t
scheduler is running
system default destination: ET2720-TurboPrint
device for ET2720-TurboPrint: tpu://Epson/ET-2720_series
ET2720-TurboPrint accepting requests since Sun Apr 28 14:34:21 2024
printer ET2720-TurboPrint is idle.  enabled since Sun Apr 28 14:34:21 2024
kone1:~ # 
kone1:~ # egrep -i "name|model|filter" /etc/cups/ppd/*
*% PPD file name: /tmp/tp6786_0.tmp
*PCFileName:    "TP123456.PPD"
*ModelName:      "Epson-EcoTank-ET2720 TurboPrint"
*ShortNickName: "Epson_EcoTank_ET2720"
*NickName:      "Epson_EcoTank_ET2720 TurboPrint"
*cupsModelNumber:       2
*cupsFilter:    "application/vnd.cups-postscript 0 pstoturboprint"
*cupsFilter2:    "application/vnd.cups-postscript application/vnd.cups-raw 0 pstoturboprint"
*cupsFilter:    "application/vnd.cups-pdf 10 pstoturboprint"
*cupsFilter2:    "application/vnd.cups-pdf application/vnd.cups-raw 10 pstoturboprint"
*cupsFilter:    "application/vnd.cups-command 10 commandtoturboprint"
*cupsFilter2:    "application/vnd.cups-command application/vnd.cups-raw 10 commandtoturboprint"
*OpenUI *ColorModel/Color Mode: PickOne
*OrderDependency: 9 AnySetup *ColorModel
*DefaultColorModel: RGB
*ColorModel Black/Grayscale Fast: "<</zedoColorModel(Black)>>pop <</cupsColorSpace 3/cupsColorOrder 0/cupsBitsPerColor 1 {} settransfer>>setpagedevice"
*ColorModel Gray/Grayscale: "<</zedoColorModel(Gray)>>pop <</cupsColorSpace 0/cupsColorOrder 0/cupsBitsPerColor 8 {} settransfer>>setpagedevice"
*ColorModel GrayPhoto/Gray Photo: "<</zedoColorModel(GrayPhoto)>>pop <</cupsColorSpace 0/cupsColorOrder 0/cupsBitsPerColor 8 {} settransfer>>setpagedevice"
*ColorModel RGB/Color (RGB): "<</zedoColorModel(RGB)>>pop <</cupsColorSpace 1/cupsColorOrder 0/cupsBitsPerColor 8 {} settransfer>>setpagedevice"
*CloseUI: *ColorModel
kone1:~code here

Ok, so the scanner is using the vendor ‘epsonscan2’ backend, rather than the free ‘epson2’ backend (driver).

I note that the epsonscan2 package includes graphical scanning application called ‘epsonscan2’. Open a terminal and run from there? Any errors? Is the printer enumerated in the dialogue box?

Does the scanner support airscan?
zypper se airscan for the package.
You might have success with it.

1 Like

Further to my last comments, I installed the epsonscan2 package (including the non-free-plugin firmware package), and upon running the epsonscan2 scanning utility I get
image
After clicking ‘Add’ I get dialogue box allowing me to add the appropriate IP address…
image
Can you do the same?

I saw you configured the epson2-config file for sane but did you check as well /etc/sane.d/dll.conf to verify that epsonds is not commented?

Besides that epson2.conf is the wrong config file for an et-2700. It is /etc/sane.d/epsonds.conf according to SANE: Supported Devices

But in that list is just noted that USB is supported by sane.

So, maybe try to configure these two .conf-files reboot and try again.

For the et-2750 it would be escl.conf + the respective entry in dll.conf. maybe that would be also worth a try if 2720 and 2750 are related products.

If the printer is connected directly to the computer with a USB cable, epsonscan2 finds the Epson ET-2720 and the scan is successful.
On the other hand, if the ET-2720 is connected via wifi, printing works fine, but epsonscan2 cannot find the scanner, even though I have set the correct ip address in that start window.

I can test the airscan, but it probably won’t be of any real use to me.