<div dir="ltr">@Alexander Thanks. I was able to install it.  How do I try it?<div>@Thierry Do I download and build this new branch? Does it includes the patch that Rolf send before?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 21 févr. 2020 à 16:53, 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 22:32, Jean-Marc Spaggiari a écrit :<br>
> Let me know if you want a SSH access to a machine with scanner<br>
> access...<br>
I fixed the geometry bp.<br>
<a href="https://gitlab.com/sane-project/backends/-/tree/escl-load-conf-segfault" rel="noreferrer" target="_blank">https://gitlab.com/sane-project/backends/-/tree/escl-load-conf-segfault</a><br>
> <br>
> Le ven. 21 févr. 2020 à 16:23, Thierry HUCAHRD<br>
> <<a href="mailto:thierry@ordissimo.com" target="_blank">thierry@ordissimo.com</a>> a écrit :<br>
> <br>
>> Le 2020-02-21 21:54, Jean-Marc Spaggiari a écrit :<br>
>>> Interestingly, I don't see the input option anymore :-/ This will<br>
>>> drive me crazy ;)<br>
>> <br>
>> This is not normal, by default it shouldn't be 0.<br>
>> I'll correct it, but I have to reproduce it.<br>
>> <br>
>> scanimage: rounded value of br-x from 0 to 0<br>
>> scanimage: rounded value of br-y from 0 to 0<br>
>> <br>
>>> <br>
>>> ./frontend/scanimage -d 'escl:<a href="http://192.168.23.130:80" rel="noreferrer" target="_blank">http://192.168.23.130:80</a>'<br>
>> --all-options<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 0 to 0<br>
>>> scanimage: rounded value of br-y from 0 to 0<br>
>>> <br>
>>> All options specific to device `escl:<a href="http://192.168.23.130:80" rel="noreferrer" target="_blank">http://192.168.23.130:80</a>':<br>
>>> Scan mode:<br>
>>> --mode Gray|Color [Gray]<br>
>>> Selects the scan mode (e.g., lineart, monochrome, or<br>
>> color).<br>
>>> --resolution 75|100|150|200|300|600dpi [75]<br>
>>> Sets the resolution of the scanned image.<br>
>>> --preview[=(yes|no)] [no]<br>
>>> Request a preview-quality scan.<br>
>>> --preview-in-gray[=(yes|no)] [no]<br>
>>> Request that all previews are done in monochrome mode.  On<br>
>> a<br>
>>> three-pass scanner this cuts down the number of passes to<br>
>> one<br>
>>> and on a<br>
>>> one-pass scanner, it reduces the memory requirements and<br>
>>> scan-time of<br>
>>> the preview.<br>
>>> Geometry:<br>
>>> -l 0.0846558..215.9mm [0]<br>
>>> Top-left x position of scan area.<br>
>>> -t 0.0846558..297.011mm [0]<br>
>>> Top-left y position of scan area.<br>
>>> -x 0.0846558..215.9mm [0]<br>
>>> Width of scan-area.<br>
>>> -y 0.0846558..297.011mm [0]<br>
>>> Height of scan-area.<br>
>>> <br>
>>> Le ven. 21 févr. 2020 à 15:43, Jean-Marc Spaggiari<br>
>>> <<a href="mailto:jean-marc@spaggiari.org" target="_blank">jean-marc@spaggiari.org</a>> a écrit :<br>
>>> <br>
>>>> So I can delete my sane-escl folder?<br>
>>>> <br>
>>>> Here is the output for both default debian installed and locally<br>
>>>> build:<br>
>>>> (base) jmspaggi@precision5530:~/backends$ scanimage -d<br>
>>>> '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>
>>>> 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<br>
>>>> <br>
>>>> (base) jmspaggi@precision5530:~/backends$ ./frontend/scanimage -d<br>
>>>> '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>
>>>> 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>
>>>> <br>
>>>> Le ven. 21 févr. 2020 à 15:40, Thierry HUCAHRD<br>
>>>> <<a href="mailto:thierry@ordissimo.com" target="_blank">thierry@ordissimo.com</a>> a écrit :<br>
>>>> <br>
>>>>> Le 2020-02-21 21:28, Jean-Marc Spaggiari a écrit :<br>
>>>>>> @Till: indeed. I had to install the autoconf-archive. It solved<br>
>>>>> the<br>
>>>>>> issue. Thanks for the guidance.<br>
>>>>>> <br>
>>>>>> @Thierry:<br>
>>>>>> <br>
>>>>>> (base) jmspaggi@precision5530:~/backends$ sudo<br>
>>>>> ./frontend/scanimage -L<br>
>>>>>> device `pixma:04A91854_13B71E' is a CANON Canon PIXMA TR4500<br>
>>>>> Series<br>
>>>>>> multi-function peripheral<br>
>>>>>> (base) jmspaggi@precision5530:~/backends$ sudo<br>
>>>>> ./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:<br>
>>>>> Device<br>
>>>>>> busy<br>
>>>>>> <br>
>>>>>> So I un-plugged the 2 printers, stopped the 2 and restarted<br>
>> only<br>
>>>>> 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<br>
>>>>> 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><br>
>>>>> also<br>
>>>>>> have a sane-escl folder which I got from the link you sent<br>
>>>>> 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<br>
>>>>> 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<br>
>>>>> prints<br>
>>>>>>>> thousands of lines "patch: **** Can't create file<br>
>>>>> ./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<br>
>>>>> same<br>
>>>>>>> error.<br>
>>>>>>>> <br>
>>>>>>>> after investigations it seems coming from the lack of<br>
>>>>> 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/<br>
>> --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<br>
>>>>> "autoconf-archive"<br>
>>>>>>> package.<br>
>>>>>>> <br>
>>>>>>> Till<br>
</blockquote></div>