[sane-standard] More device properties

m. allan noah kitno455 at gmail.com
Thu Jan 18 21:29:58 CET 2007


On 1/18/07, Étienne Bersac <bersace03 at laposte.net> wrote:
> Hi,
>
> > ok- but i seem to be missing something- _WHY_ does the frontend need
> > to know that an adf is in use? that, i think, is the problem that we
> > should fix.
>
> In order to loop each page while "NO_DOCS" is returned or just acquire
> one frame/all RGB frames.

ahh- yes. then if you have a slide feeder or a reel or carousel
loader, your frontend will have to be trained to read those options as
well, or the backend will have to lie and call it an 'adf'.

a possible answer? add a flag to SANE_Parameters struct which says
'last page', or add a well-named read only option that says something
like 'number remaining'. i really like the last suggestion, because
it's easy for flatbeds to just always set it to 0, adf's can set it to
1 (until the hopper is empty), and other feed systems can give an
actual count if they have such knowlege. (multi-slide feeder).

allan

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



More information about the sane-standard mailing list