SetupSource()
Posted: Thu Nov 01, 2012 7:42 pm
I am trying to use the
function to allow the user to specify settings he desires. This function displays a configuration dialog box if one is available.
After the user closes this dialog box, I open the datasource and query the scanner for it's capabilities. These capabilities do not appear to save from the SetupSource() function call. For example, if the user specifies single-sided page scanning in SetupSource, then I am still getting double-sided scanning when I query the scanner capabilities.
I don't want to use a user interface, because the user should be able to set the settings once, and then scan repeatedly without a UI.
How can SetupSource() be used so that those values are used when I query the scanner for its capabilities?
Thanks,
Code: Select all
SetupSource()
After the user closes this dialog box, I open the datasource and query the scanner for it's capabilities. These capabilities do not appear to save from the SetupSource() function call. For example, if the user specifies single-sided page scanning in SetupSource, then I am still getting double-sided scanning when I query the scanner capabilities.
I don't want to use a user interface, because the user should be able to set the settings once, and then scan repeatedly without a UI.
How can SetupSource() be used so that those values are used when I query the scanner for its capabilities?
Thanks,