<div dir="ltr">So I can delete my sane-escl folder?<div><br></div><div>Here is the output for both default debian installed and locally build:</div><div>(base) jmspaggi@precision5530:~/backends$ scanimage -d 'escl:<a href="http://192.168.23.130:80">http://192.168.23.130:80</a>' -x 215 -y 296 -T<br>Output format is not set, using pnm as a default.<br>scanimage: scanning image of size 637x877 pixels at 24 bits/pixel<br>scanimage: acquiring RGB frame, 8 bits/sample<br>scanimage: reading one scanline, 1911 bytes...  PASS<br>scanimage: reading one byte...            PASS<br>scanimage: stepped read, 2 bytes...       PASS<br>scanimage: stepped read, 4 bytes...       PASS<br>scanimage: stepped read, 8 bytes...       PASS<br>scanimage: stepped read, 16 bytes...      PASS<br>scanimage: stepped read, 32 bytes...      PASS<br>scanimage: stepped read, 64 bytes...      PASS<br>scanimage: stepped read, 128 bytes...     PASS<br>scanimage: stepped read, 256 bytes...     PASS<br>scanimage: stepped read, 512 bytes...     PASS<br>scanimage: stepped read, 1024 bytes...    PASS<br>scanimage: stepped read, 2048 bytes...    PASS<br>scanimage: stepped read, 2047 bytes...    PASS<br>scanimage: stepped read, 1023 bytes...    PASS<br>scanimage: stepped read, 511 bytes...     PASS<br>scanimage: stepped read, 255 bytes...     PASS<br>scanimage: stepped read, 127 bytes...     PASS<br>scanimage: stepped read, 63 bytes...      PASS<br>scanimage: stepped read, 31 bytes...      PASS<br>scanimage: stepped read, 15 bytes...      PASS<br>scanimage: stepped read, 7 bytes...       PASS<br>scanimage: stepped read, 3 bytes...       PASS</div><div><br>(base) jmspaggi@precision5530:~/backends$ ./frontend/scanimage -d 'escl:<a href="http://192.168.23.130:80">http://192.168.23.130:80</a>' -x 215 -y 296 -T<br>Output format is not set, using pnm as a default.<br>Capability : [image/jpeg]<br>Capability : [image/jpeg]<br>Capability : [image/jpeg]<br>Capability : [image/jpeg]<br>scanimage: rounded value of br-x from 215 to 215<br>scanimage: rounded value of br-y from 296 to 296<br>scanimage: scanning image of size 634x874 pixels at 24 bits/pixel<br>scanimage: acquiring RGB frame, 8 bits/sample<br>scanimage: reading one scanline, 1902 bytes...       PASS<br>scanimage: reading one byte...            PASS<br>scanimage: stepped read, 2 bytes...       PASS<br>scanimage: stepped read, 4 bytes...       PASS<br>scanimage: stepped read, 8 bytes...       PASS<br>scanimage: stepped read, 16 bytes...      PASS<br>scanimage: stepped read, 32 bytes...      PASS<br>scanimage: stepped read, 64 bytes...      PASS<br>scanimage: stepped read, 128 bytes...     PASS<br>scanimage: stepped read, 256 bytes...     PASS<br>scanimage: stepped read, 512 bytes...     PASS<br>scanimage: stepped read, 1024 bytes...    PASS<br>scanimage: stepped read, 2048 bytes...    PASS<br>scanimage: stepped read, 2047 bytes...    PASS<br>scanimage: stepped read, 1023 bytes...    PASS<br>scanimage: stepped read, 511 bytes...     PASS<br>scanimage: stepped read, 255 bytes...     PASS<br>scanimage: stepped read, 127 bytes...     PASS<br>scanimage: stepped read, 63 bytes...      PASS<br>scanimage: stepped read, 31 bytes...      PASS<br>scanimage: stepped read, 15 bytes...      PASS<br>scanimage: stepped read, 7 bytes...       PASS<br>scanimage: stepped read, 3 bytes...       PASS<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 21 févr. 2020 à 15:40, Thierry HUCAHRD <<a href="mailto:thierry@ordissimo.com">thierry@ordissimo.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 2020-02-21 21:28, Jean-Marc Spaggiari a écrit :<br>
> @Till: indeed. I had to install the autoconf-archive. It solved the<br>
> issue. Thanks for the guidance.<br>
> <br>
> @Thierry:<br>
> <br>
> (base) jmspaggi@precision5530:~/backends$ sudo ./frontend/scanimage -L<br>
> device `pixma:04A91854_13B71E' is a CANON Canon PIXMA TR4500 Series<br>
> multi-function peripheral<br>
> (base) jmspaggi@precision5530:~/backends$ sudo ./frontend/scanimage -d<br>
> 'escl:<a href="http://192.168.23.130:80" rel="noreferrer" target="_blank">http://192.168.23.130:80</a>'  -T<br>
> Output format is not set, using pnm as a default.<br>
> scanimage: open of device escl:<a href="http://192.168.23.130:80" rel="noreferrer" target="_blank">http://192.168.23.130:80</a> failed: Device<br>
> busy<br>
> <br>
> So I un-plugged the 2 printers, stopped the 2 and restarted only the<br>
> Canon. I can heat the printer moving but I get the same error:<br>
> scanimage: sane_start: Invalid argument<br>
> <br>
> please note that I do that on my "backends" folder, which I got from<br>
> that: git clone <a href="https://gitlab.com/sane-project/backends.gitI" rel="noreferrer" target="_blank">https://gitlab.com/sane-project/backends.gitI</a> also<br>
> have a sane-escl folder which I got from the link you sent before but<br>
> there is no "scanimage" there.<br>
> <br>
sane-escl is archived<br>
Please test this :<br>
$ scanimage -d 'escl:<a href="http://192.168.23.130:80" rel="noreferrer" target="_blank">http://192.168.23.130:80</a>' -x 215 -y 296 -T<br>
> JMS<br>
> <br>
> Le ven. 21 févr. 2020 à 15:16, Till Kamppeter<br>
> <<a href="mailto:till.kamppeter@gmail.com" target="_blank">till.kamppeter@gmail.com</a>> a écrit :<br>
> <br>
>> On 21/02/2020 20:26, Jean-Marc Spaggiari wrote:<br>
>>> So.<br>
>>> <br>
>>> I have cloned the backend repo:<br>
>>> git clone <a href="https://gitlab.com/sane-project/backends.git" rel="noreferrer" target="_blank">https://gitlab.com/sane-project/backends.git</a><br>
>>> <br>
>>> Applied the patch (Changed 1200 to 600 and added the last param).<br>
>>> <br>
>>> And now I'm trying to follow the instructions there:<br>
>>> <a href="https://help.ubuntu.com/community/CompileSaneFromSource" rel="noreferrer" target="_blank">https://help.ubuntu.com/community/CompileSaneFromSource</a><br>
>>> <br>
>>> running ./autogen.sh failes right from the beginning :( I prints<br>
>>> thousands of lines "patch: **** Can't create file ./ltmain.sh.orig<br>
>> : Too<br>
>>> many open files" I increased my limit to 10k files, but I'm<br>
>> getting the<br>
>>> exact same error. I tried to checkout the 1.0.29 but got the same<br>
>> error.<br>
>>> <br>
>>> after investigations it seems coming from the lack of autopoint.<br>
>> apt-get<br>
>>> install solved it.<br>
>>> <br>
>>> I tried to run configure with this command:<br>
>>> ./configure --prefix=/usr --libdir=/usr/lib/ --sysconfdir=/etc<br>
>>> --localstatedir=/var  --enable-avahi<br>
>>> <br>
>>> But it failed:<br>
>>> ./configure: line 14868: syntax error near unexpected token<br>
>> `noext,'<br>
>>> ./configure: line 14868: `AX_CXX_COMPILE_STDCXX_11(noext,<br>
>> optional)'<br>
>>> <br>
>> <br>
>> If you are on Ubuntu, you need to install the "autoconf-archive"<br>
>> package.<br>
>> <br>
>> Till<br>
</blockquote></div>