[sane-devel] ADF detection

Henning Meier-Geinitz henning at meier-geinitz.de
Thu Mar 16 14:54:08 UTC 2006


Hi,

On 2006-03-14 14:22, Giuseppe Sacco wrote:
> I am facing a problem when I use many different scanners. I need to know 
> if the scanner source currently used in a scan is ADF or
> flatbed.

Why?

> I noticed that different backends use different names like "FB",
> "Flatbed", "ADF", "Automatic Document Feeder".
> 
> Is there any way to know that ADF is installed and used? Should I strcmp
> all these strings?

At the moment, this is not standardized and "source" is also no
well-known option. The SANE2 draft says "Automatic Document Feeder".

So I guess at the moment you must grep for all used strings.

Bye,
  Henning



More information about the sane-devel mailing list