--optioncheck

Top  Previous  Next

--optioncheck

 

Displays a list of the TwainSave options that are supported and not supported by the selected TWAIN device to the output console.  If --optioncheck is specified, TwainSave will shut down after displaying the list of the options.  Usage of --optioncheck allows the user to see what options are actually available for the selected scanner, so as to ensure that the user uses valid options when restarting TwainSave for the selected device.  


Note that --optioncheck only does a minimal check of the options.  If the option requires a value to be specified, the value is not checked by --optioncheck.  To test the actual value used for an option, the 

--verbose option should be used.


For example:


twainsave --optioncheck


will display the TWAIN "Select Source" dialog.  When a Source is selected, a sample output may look like this:



For device: "TWAIN Software Scanner", the following device-dependent option list was generated : 


Supported option(s):

--@

--area

--autofeed

--autofeedorflatbed

--bitsperpixel

--blankthreshold

--brightness

--color

... more supported options



Unsupported option(s):

--autobright

--autorotate

--deskew

--halftone

--highlight

--imprinter

... more unsupported options


 

The output above shows that --autobright, --autorotate, and others in the Unsupported list are not supported by the "TWAIN Software Scanner" device.