[sane-devel] image lines is -1 according to sane_get_parameters

m. allan noah kitno455 at gmail.com
Mon Oct 22 23:44:40 UTC 2012


That is the backend's indication that it does not know the length of
the paper. The backend should have some option where you set the
height of the image you want it to scan. If you do not tell it, it
tells you that it does not know. I imagine you use an Avision scanner?

allan

On Mon, Oct 22, 2012 at 7:27 PM, dabicho <tsukebumi at gmail.com> wrote:
> Hi.
> I am writing a front-end.
> In previous version, after sane_start, sane_get_parameters would tell
> me how much memory I would need to allocate for the image.
> I am using 1.0.22-5 (from fedora) to support a new scanner, but after
> sane_get_parameters I am told the image is "-1" lines high.
> What does that mean? I have not received any error, and xsane works alright.
>
> or how sould I go about it as a turn around?
>
> any pointer please?
>
> Thank you
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org



-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list