[sane-devel] Max Scan Area from ADF
tshunter001 at yahoo.com.mx
Wed Feb 23 17:26:17 UTC 2011
There is clearly a problem in the SANE backend for the 5590, or perhaps in SANE itself - I'm not a good enough programmer to know which it might be.
My 5590 works perfectly in Windows XP, scans legal with the ADF, etc. With SANE, it scans perfectly using the ADF, but only to the 11.72 dimension. I had to resort to Windows again last week to scan legal size. What a bother!
It appears likely that the scanner senses
the end of the sheet and and provides (at least in Windows) the measured length of the page to the scanner software. Could this be the solution?
Out of curiosity I made a sheet of paper 8.5x17 inches and tried it in the scanner (using Windows). I got a "paper jam" error after 14 inches, so there is a fixed limit, but it is 14 inches, not 11.72.
I'm using Opensuse 11.1, with XSane versión 0.995 5590:002 (modified by Novell, it says) downloaded from the Opensuse Repository. I will probably go to Opensuse 11.3
--- El mar 22-feb-11, Ilia Sotnikov <hostcc at gmail.com> escribió:
De: Ilia Sotnikov <hostcc at gmail.com>
Asunto: Re: [sane-devel] Max Scan Area from ADF
A: "manuel" <mixkeysweis18 at yahoo.com>
Cc: sane-devel at lists.alioth.debian.org
Fecha: martes, 22 de febrero de 2011, 14:20
On Tue, Feb 22, 2011 at 7:54 PM, manuel <mixkeysweis18 at yahoo.com> wrote:
> Hi, I have a hp5590 scanner, it works fine in WindowsXP but has a problem with
> the sane (Ubuntu).
> When I try to scan a Legal size page from ADF source, simply the sane-backend
> restricts the area to
8.5 in X 11.72 in, and the device support up to 14 inches
> in height in Windows.
> I look in the hp5590 source but i can't see where this value is set, a guy from
> the forum say me that probably was the max_y_pixel but i don't know.
The logic here is simple - scanner reports its max supported
coordinates, and the backends checks whether the scan area set is
within those values. Based on the values I've seen from devices, max
area is indeed 8.5'' x 11.72''.
> From CLI the same.
> When I use the following command, that is Legal size (8.5 X 14)
> scanimage --source ADF --mode Gray --format=pdf -l 0 -t 0 -x 216 -y 356
> --resolution 150 > image.pdf
> It show me this error output:
> [hp5590] Top Y (0) + pixels Y (2102) exceedes max Y 1758
> scanimage: sane_start: Invalid argument
See above explanation - that's why you've got this
error with current
backend. Basically, nothing would prevent from scanning something from
ADF wtih height even exceeding 14'' - the paper is just fed by
mechanical means over scanning head which isn't moving. Only if the
firmware has some hardcoded limits.
> I Have the debug log too.
Please, send it - would be helpful to check what's going on there.
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sane-devel