[sane-devel] how to detect the scan_source

Oliver Schirrmeister oschirr at abm.de
Fri Nov 8 13:07:36 GMT 2002


Is there a way to detect if the user wants to scan with
the ADF or from flatbed? I've found SANE_NAME_SCAN_SOURCE
but the value of that option depends on the backend?

I'd like to write a tool like scanimage. The user can
select the scanner and the scansource. If flatbed is 
selected I want to scan one image only. If the ADF is
selected I want to scan as long the ADF is not empty.


Thanks

Oliver




More information about the sane-devel mailing list