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