[sane-devel] Knowing ADF source is active

Kåre Särs kare.sars at kolumbus.fi
Tue Feb 10 19:03:21 UTC 2009


Hi,

I'm looking into automatically turning on batch scan, in libksane, when the 
scan source is an automatic document feeder. Is there a better way to do it 
than to check if the "source" option is set to "Automatic Document Feeder"?

Is it likely that I will encounter a situation where the scanner is ADF only 
and that the backend doesn't have the "source" option or that the returned 
string isn't "Automatic Document Feeder"?

Thanks,
   Kåre



More information about the sane-devel mailing list