[sane-devel] HP scanjet 5590 duplex ADF
v at njh.eu
Thu Nov 3 17:13:37 UTC 2016
I also have an HP Scanjet 5590 some time ago, and the following
command works for me:
scanimage -d hp5590 --resolution 200 --mode Color -x 215 -y 302.6 --source 'ADF Duplex' --batch='scan_%d.pnm'
However, the boundaries are not recognized automatically, so you have
to do fine adjustments to the Y value ("302.6", "302.0", "303.1",
...), which depends on your exact paper size, the happiness value of
your scanner and the phase of the moon.
I volunteered to improve the driver so that the correct page
boundaries are reconized automatically rather than cutting the image
stream at at predefined Y value.
Unfortunately, my time is very limited. When I worked on this some
months ago, I understood the relevant parts of the SANE code base, and
I figured out how the page boundary could be recognized by the driver
at all. (The device produces special pixel values in an additional
border pixel column to indicate end of paper.) However, I have yet to
find some time to actually implement and test it.
Bob von Knobloch schrieb:
> I bought an HP Scanjet 5590 as it seemed to be very compatible and also
> fairly modern.
> The Xsane frontend produces an error if I try to use the Duplex ADF option:
> "Failed to start scanner:Invalid argument".
> Running xsane from a terminal, it reports:
> "[hp5590] Top Y (436) + pixels Y (2363) exceedes max Y 2344"
> It appears to double the no. of Y pixels (presumably because double sided)
> but the scanner complains.
> I don't know if this is in the backend or sane, so I'm posting, hoping that
> someone will tell where I should post (if not here).
> OS: OpenSuse Leap 42.1 (64-bit)
> Bob von Knobloch
> The Sun is out, the sky is blue, it's time to drive the MR2.
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org
More information about the sane-devel