Re: sane-backend for Epson EcoTank ET-2711

2022-05-04 Thread Brian
On Wed 04 May 2022 at 15:43:03 +0200, Dieter Rohlfing wrote:

> Am Wed, 4 May 2022 12:50:14 +0100
> schrieb Brian :
> 
> >I wonder whether the net backend is required. What happens if the
> >entry is commented out?
> 
> My fault: net was enabled, therefore I thought, that it is necessary.
> According to your proposal I disabled net and access to ET2711 is
> possible. So no need to enable net, airscan alone is sufficient.

If you do not need more that 100dpi and 300dpi, airscan gives a
user an alternative to Epson's non-free driver.
 
> >Scanning is taking place using the WSD (Web Services for Devices)
> >protocol. The eSCL protocol needs AirPrint on the device.
> 
> I thought eSCL is just a synonym for WSD. Wrong or right? This is my
> first approach to scanning and I'm not very familiar with the different
> scanning protocols.

They are two completely different independent protocols. See

  https://wiki.debian.org/SaneOverNetwork
 
> >Would you confirm you can scan with
> >
> >  xsnae "airscan:w0:EPSON ET-2710 Series"
> 
> It works.

Thanks.

> >Unfortunately, the vendor's implementation of WSD may offer only
> >a limited number of resolutions. airscan cannot do anything about
> >this; it can only work with what it is told by the device.
> 
> Agreed.

eSCL would have provided a wider range of resolutions. Why in this
day and age Epson chose not to provide the device with AirPrint is
beyond me.

> >With a USB connection, what do you get for
> >  lsusb -v | grep -A 3 bInterfaceClass.*7 ?
> 
> The output is:
> 
> >  bInterfaceClass 7 Printer
> >  bInterfaceSubClass  1 Printer
> >  bInterfaceProtocol  2 Bidirectional
> >  iInterface  6 USB2.0 Printer

The device does not provide IPP-over-USB either. Many MFPs have been
offering it since soon after 2012.

-- 
Brian.



Re: sane-backend for Epson EcoTank ET-2711

2022-05-04 Thread Brian
On Wed 04 May 2022 at 14:35:29 +0100, mick crane wrote:

> On 2022-05-04 14:12, Dieter Rohlfing wrote:
> > Am Wed, 04 May 2022 11:42:39 +0100
> > schrieb mick crane :
> > 
> > > You can probably type "scanimage --help -A -d 'airscan:w0:EPSON
> > > ET-2710
> > > Series'"
> > > to get a list of capabilities.
> > 
> > This is the ET2711 specific output:
> > 
> > > Options specific to device `airscan:w0:EPSON ET-2710 Series':
> > >  Standard:
> > >--resolution 100|300dpi [300]
> 
> seems you should have 1200dpi available.
> No idea why not

Hint: read *all* the posts in this short thread :).

-- 
Brian.



Re: sane-backend for Epson EcoTank ET-2711

2022-05-04 Thread Dieter Rohlfing
Am Wed, 4 May 2022 12:50:14 +0100
schrieb Brian :

>I wonder whether the net backend is required. What happens if the
>entry is commented out?

My fault: net was enabled, therefore I thought, that it is necessary.
According to your proposal I disabled net and access to ET2711 is
possible. So no need to enable net, airscan alone is sufficient.

>Scanning is taking place using the WSD (Web Services for Devices)
>protocol. The eSCL protocol needs AirPrint on the device.

I thought eSCL is just a synonym for WSD. Wrong or right? This is my
first approach to scanning and I'm not very familiar with the different
scanning protocols.

>Would you confirm you can scan with
>
>  xsnae "airscan:w0:EPSON ET-2710 Series"

It works.

>Unfortunately, the vendor's implementation of WSD may offer only
>a limited number of resolutions. airscan cannot do anything about
>this; it can only work with what it is told by the device.

Agreed.

>With a USB connection, what do you get for
>  lsusb -v | grep -A 3 bInterfaceClass.*7 ?

The output is:

>  bInterfaceClass 7 Printer
>  bInterfaceSubClass  1 Printer
>  bInterfaceProtocol  2 Bidirectional
>  iInterface  6 USB2.0 Printer

Dieter



Re: sane-backend for Epson EcoTank ET-2711

2022-05-04 Thread mick crane

On 2022-05-04 14:12, Dieter Rohlfing wrote:

Am Wed, 04 May 2022 11:42:39 +0100
schrieb mick crane :

You can probably type "scanimage --help -A -d 'airscan:w0:EPSON 
ET-2710

Series'"
to get a list of capabilities.


This is the ET2711 specific output:


Options specific to device `airscan:w0:EPSON ET-2710 Series':
 Standard:
   --resolution 100|300dpi [300]


seems you should have 1200dpi available.
No idea why not

mick
--
Key ID4BFEBB31



Re: sane-backend for Epson EcoTank ET-2711

2022-05-04 Thread Dieter Rohlfing
Am Wed, 04 May 2022 11:42:39 +0100
schrieb mick crane :

>You can probably type "scanimage --help -A -d 'airscan:w0:EPSON ET-2710
>Series'"
>to get a list of capabilities.

This is the ET2711 specific output:

>Options specific to device `airscan:w0:EPSON ET-2710 Series':
>  Standard:
>--resolution 100|300dpi [300]
>Sets the resolution of the scanned image.
>--mode Color|Gray [Color]
>Selects the scan mode (e.g., lineart, monochrome, or color).
>--source Flatbed [Flatbed]
>Selects the scan source (such as a document-feeder).
>  Geometry:
>-l 0..215.9mm [0]
>Top-left x position of scan area.
>-t 0..297.18mm [0]
>Top-left y position of scan area.
>-x 0..215.9mm [215.9]
>Width of scan-area.
>-y 0..297.18mm [297.18]
>Height of scan-area.
>  Enhancement:
>--brightness -100..100% (in steps of 1) [0]
>Controls the brightness of the acquired image.
>--contrast -100..100% (in steps of 1) [0]
>Controls the contrast of the acquired image.
>--shadow 0..100% (in steps of 1) [0]
>Selects what radiance level should be considered "black".
>--highlight 0..100% (in steps of 1) [100]
>Selects what radiance level should be considered "white".
>--analog-gamma 0.008..4 [1]
>Analog gamma-correction
>--negative[=(yes|no)] [no]
>Swap black and white
>
>All options specific to device `airscan:w0:EPSON ET-2710 Series':
>  Standard:
>--resolution 100|300dpi [300]
>Sets the resolution of the scanned image.
>--mode Color|Gray [Color]
>Selects the scan mode (e.g., lineart, monochrome, or color).
>--source Flatbed [Flatbed]
>Selects the scan source (such as a document-feeder).
>  Geometry:
>-l 0..215.9mm [0]
>Top-left x position of scan area.
>-t 0..297.18mm [0]
>Top-left y position of scan area.
>-x 0..215.9mm [215.9]
>Width of scan-area.
>-y 0..297.18mm [297.18]
>Height of scan-area.
>  Enhancement:
>--brightness -100..100% (in steps of 1) [0]
>Controls the brightness of the acquired image.
>--contrast -100..100% (in steps of 1) [0]
>Controls the contrast of the acquired image.
>--shadow 0..100% (in steps of 1) [0]
>Selects what radiance level should be considered "black".
>--highlight 0..100% (in steps of 1) [100]
>Selects what radiance level should be considered "white".
>--analog-gamma 0.008..4 [1]
>Analog gamma-correction
>--negative[=(yes|no)] [no]
>Swap black and white

Dieter



Re: sane-backend for Epson EcoTank ET-2711

2022-05-04 Thread Brian
On Wed 04 May 2022 at 11:51:06 +0200, Dieter Rohlfing wrote:

> Am Tue, 3 May 2022 23:19:17 +0100
> schrieb Brian :
> 
> >AirPrint is not mentioned in the device's specifications at
> >
> >  
> > https://www.epson.co.uk/products/printers/inkjet/consumer/ecotank-et-2711/p/23003
> 
> This website says:
> 
> >Optical Resolution
> >2,400 DPI x 1,200 DPI (Horizontal x Vertical)
> 
> but xsane offers me only 100 dpi and 300 dpi and no higher resolution.

Dealt with later on.
 
> >Enable the net backend? Nothing else?
> 
> The net and airscan sane-backends.

I wonder whether the net backend is required. What happens if the
entry is commented out?
 
> >Please give what you get for
> >
> >  scanimage -L
> >
> >  airscan-discover
> 
> System is Debian 11.3, airscan doesn't exist in previous versions.

sane-airscan is in buster-backports.

> scanimage -L
> device `airscan:w0:EPSON ET-2710 Series' is a WSD EPSON ET-2710 Series 
> ip=172.16.10.91
> 
> airscan-discover
> [devices]
>   EPSON ET-2710 Series = http://172.16.10.91:80/WDP/SCAN, WSD

Scanning is taking place using the WSD (Web Services for Devices)
protocol. The eSCL protocol needs AirPrint on the device. Would
you confirm you can scan with

  xsnae "airscan:w0:EPSON ET-2710 Series"

or

  simple-scan "airscan:w0:EPSON ET-2710 Series"

Unfortunately, the vendor's implementation of WSD may offer only
a limited number of resolutions. airscan cannot do anything about
this; it can only work with what it is told by the device.

With a USB connection, what do you get for

  lsusb -v | grep -A 3 bInterfaceClass.*7 ?

-- 
Brian.



Re: sane-backend for Epson EcoTank ET-2711

2022-05-04 Thread mick crane

On 2022-05-04 10:51, Dieter Rohlfing wrote:


scanimage -L
device `airscan:w0:EPSON ET-2710 Series' is a WSD EPSON ET-2710 Series
ip=172.16.10.91


I'd have to familiarize myself with setting up scanning
You can probably type "scanimage --help -A -d 'airscan:w0:EPSON ET-2710 
Series'"

to get a list of capabilities.

mick
--
Key ID4BFEBB31



Re: sane-backend for Epson EcoTank ET-2711

2022-05-04 Thread Dieter Rohlfing
Am Tue, 3 May 2022 23:19:17 +0100
schrieb Brian :

>AirPrint is not mentioned in the device's specifications at
>
>  
> https://www.epson.co.uk/products/printers/inkjet/consumer/ecotank-et-2711/p/23003

This website says:

>Optical Resolution
>2,400 DPI x 1,200 DPI (Horizontal x Vertical)

but xsane offers me only 100 dpi and 300 dpi and no higher resolution.

>Enable the net backend? Nothing else?

The net and airscan sane-backends.

>Please give what you get for
>
>  scanimage -L
>
>  airscan-discover

System is Debian 11.3, airscan doesn't exist in previous versions.

scanimage -L
device `airscan:w0:EPSON ET-2710 Series' is a WSD EPSON ET-2710 Series 
ip=172.16.10.91

airscan-discover
[devices]
  EPSON ET-2710 Series = http://172.16.10.91:80/WDP/SCAN, WSD

Dieter



Re: sane-backend for Epson EcoTank ET-2711

2022-05-03 Thread Brian
On Tue 03 May 2022 at 23:47:44 +0200, Dieter Rohlfing wrote:

> Am Sun, 1 May 2022 12:26:00 +0100
> schrieb Brian :
> 
> >you have a modern device (from about 2018) that does not support AirPrint
> 
> Sorry, that's wrong.

Really?

AirPrint is not mentioned in the device's specifications at

  
https://www.epson.co.uk/products/printers/inkjet/consumer/ecotank-et-2711/p/23003

nor at

  https://openprinting.github.io/printers/
 
> In my previous postings I was regarding a connection via USB cable. For
> that case the sane-backend epsonds does not work, but the epsonscan2
> backend from Epson, although epsonscan2 fails for network scanning.
> 
> The Epson ET2711 can be connected via USB cable and WiFi. In the latter
> case the ET2711 has an IP and therefore can be directly addressed by the
> client, who wants to scan.
> 
> You have to enable the sane net backend and the client automatically
> recognizes the ET2711 via the escl protocol (the package sane-airscan
> must be installed and enabled). Now the ET2711 is listed by 'scanimage
> -L'; 'scanimage -T', simple-scan and xsane work flawlessly.

That's all you did? Enable the net backend? Nothing else?

Please give what you get for

  scanimage -L

  airscan-discover

-- 
Brian.



Re: sane-backend for Epson EcoTank ET-2711

2022-05-03 Thread Dieter Rohlfing
Am Sun, 1 May 2022 12:26:00 +0100
schrieb Brian :

>you have a modern device (from about 2018) that does not support AirPrint

Sorry, that's wrong.

In my previous postings I was regarding a connection via USB cable. For
that case the sane-backend epsonds does not work, but the epsonscan2
backend from Epson, although epsonscan2 fails for network scanning.

The Epson ET2711 can be connected via USB cable and WiFi. In the latter
case the ET2711 has an IP and therefore can be directly addressed by the
client, who wants to scan.

You have to enable the sane net backend and the client automatically
recognizes the ET2711 via the escl protocol (the package sane-airscan
must be installed and enabled). Now the ET2711 is listed by 'scanimage
-L'; 'scanimage -T', simple-scan and xsane work flawlessly.

So long story short: local scanning via USB works with epsonscan2, but
not with epsonds backend, networking scanning does not work with both
backends. Scanning via WiFi connection works okay.

Dieter



Re: sane-backend for Epson EcoTank ET-2711

2022-05-02 Thread Brian
On Mon 02 May 2022 at 00:02:23 +0200, Dieter Rohlfing wrote:

> Am Sun, 1 May 2022 12:26:00 +0100
> schrieb Brian :
> 
> >Download the Epson (non-free) drivers.
> 
> Done. The ET-2711 is now recognized in buster and bullseye as locally
> connected scanner.
> 
> I can scan with simple-scan and 'scanimage -T' completes without any
> error. But xsane terminates with 'Segmentation fault'.

Looks like a win to me (being able to scan as aopposed to no scanning).
I cannot explain the behaviour of xsane.

The non-working epsonds backend could be reported at

  https://gitlab.com/sane-project/backends/-/issues

-- 
Brian.



Re: sane-backend for Epson EcoTank ET-2711

2022-05-02 Thread didier gaumet



Le lundi 02 mai 2022 à 00:02 +0200, Dieter Rohlfing a écrit :

[...]
> So long story short: network scaning does not work with the Epson
> drivers. :-(

Hello,

It seems there is a specific network plugin to installa and configure
(look at 6.1 and 7 chapters)
http://download.ebz.epson.net/man/linux/imagescanv3_e.html#sec1




Re: sane-backend for Epson EcoTank ET-2711

2022-05-01 Thread Dieter Rohlfing
Am Sun, 1 May 2022 12:26:00 +0100
schrieb Brian :

>Download the Epson (non-free) drivers.

Done. The ET-2711 is now recognized in buster and bullseye as locally
connected scanner.

I can scan with simple-scan and 'scanimage -T' completes without any
error. But xsane terminates with 'Segmentation fault'.

As next step I tried scaning via network. One server has Debian 10.12,
the other Debian 11.3 (both with the Epson drivers).

A client with Debian 9.13 recognized the ET-2711 via 'scanimage -L',
but simple-scan, xsane and 'scanimage -T' terminate with an error.

A client with Debian 11.3 did not recognize the ET-2711 via 'scanimage
-L'.

As last test I connected an Epson CX-7400 USB-printer/scanner to the
server. The device was recognized via 'scanimage -L' by a Debian 9.13
and a Debian 11.3 client. Xsane, simple-scan and 'scanimage -T' worked
flawlessly. So I suppose, that my network related sane configuration is
correct.

So long story short: network scaning does not work with the Epson
drivers. :-(

Dieter



Re: sane-backend for Epson EcoTank ET-2711

2022-05-01 Thread Dieter Rohlfing
Am Sat, 30 Apr 2022 18:25:24 -0600
schrieb Charles Curley :

>Web sites usually document the most recent release, whereas Debian old
>stable may not have the latest.

I connected the ET-2711 to a host with Debian 11.3: 'scanimage -L' did
not recognized the ET-2711 as a scanner. So no supporting back-end in
stable.

If there is a sane backend which supports the ET-2711, then it must be
in testing or sid.

I'm subscribed to this list, so there is no need to CC me. Thanks.

Also see my reply to the posting of Brian.

Dieter



Re: sane-backend for Epson EcoTank ET-2711

2022-05-01 Thread Brian
On Sun 01 May 2022 at 00:25:13 +0200, Dieter Rohlfing wrote:

[...]

> But the command 'scanimage -L' gives the following output:
> 
> >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).
> 
> My guess is: none of the installed backends (Debian 10.12) handles the
> ET-2711. What can I do?

That more or less sums up the situation. Not only that but you have
a modern device (from about 2018) that does not support AirPrint; a
quite amazing decision on Epson's part. The outcome is that you
cannot use the backported sane-airscan, which almost certainly would
have worked.

Two suggestions:

1. Download the Epson (non-free) drivers. Theses are proably your best
   bet.

2. Use https://launchpad.net/~sane-project/+archive/ubuntu/sane-git. I
   do not know how installation of such packages plays with buster.

-- 
Brian.



Re: sane-backend for Epson EcoTank ET-2711

2022-04-30 Thread Charles Curley
On Sun, 1 May 2022 00:25:13 +0200
Dieter Rohlfing  wrote:

> My guess is: none of the installed backends (Debian 10.12) handles the
> ET-2711. What can I do?

I know nothing of your printer, so this is a stab in the dark. One
thing I'd check is whether the version of sane you have supports it.
Web sites usually document the most recent release, whereas Debian old
stable may not have the latest.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



sane-backend for Epson EcoTank ET-2711

2022-04-30 Thread Dieter Rohlfing
Hello everybody,

I'm using an Epson EcoTank ET-2711. Printing with CUPS is no problem,
but scanning with sane.

According to

http://www.sane-project.org/lists/sane-backends-cvs.html#S-EPSONDS

the Epson EcoTank ET-2711 (vendor=0x04b8, product=0x1143) is completely
supported by the sane-backend epsonds.

I've installed sane-utils and sane-find-scanner prints:

> found USB scanner (vendor=0x04b8, product=0x1143) at libusb:001:006

The file /etc/sane.d/dll.conf contains a line with 'epsonds' and the
file /etc/sane.d/epsonds.conf contains the following line:

> usb 0x04b8 0x1143

But the command 'scanimage -L' gives the following output:

>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).

My guess is: none of the installed backends (Debian 10.12) handles the
ET-2711. What can I do?

Dieter