[sane-devel] scanimage and scanadf command line args

Peter Santoro peter@pscomp.com
Sat, 21 Jun 2003 18:30:49 -0400


m. allan noah wrote:

>the options you are discussing are backend specific.
>
>with no scanner attached to the machine, if you run scanimage --help and 
>scanadf --help, you will see nothing about scanning options, only input 
>and output file, and file format.
>
>the threshold and paper size options are provided by the scanner backend, 
>so if they malfunction, it is probably my fujitsu 4120 code :)
>
>the fact that one of them works, but is hidden, perhaps is because that 
>option is set to SANE_CAP_ADVANCED, which hides it from most users (try 
>using xsane, you will see the advanced option in menu, iirc).
>
>allan
>
>On Fri, 20 Jun 2003, Peter Santoro wrote:
>
>  
>
>>My application makes use of scanimage and scanadf (sane 1.0.12 backend and 1.0.11 frontend) and it appears that there 
>>are a few inconsistencies with respect to the command line args of these sane front-ends.
>>
>>For instance, when using my fujitsu fi-4120c, "scanadf --help" shows that there is a "--paper_size" option available. 
>>Actually, it needs to be entered as "paper_size".  Also, there is no "--threshold" option listed on the help screen, but 
>>  it can be entered and it does appear to work correctly.  There are other apparent inconsistencies I've run across 
>>using scanimage, but I don't remember them now.
>>
>>None of these issues are a big deal, but I was wondering if I was missing something here.
>>
>>Thanks for your help,
>>
>>Peter
>>
>>_______________________________________________
>>Sane-devel mailing list
>>Sane-devel@www.mostang.com
>>http://www.mostang.com/mailman/listinfo/sane-devel
>>
>>    
>>
>
>  
>
Thanks again, Allan.  I appreciate your patience for those of us who are 
new to  the sane code base.

Peter