If a scanner is configured to work with Imagenation, you can use the scanning functions to set scan parameters, and to start and stop scanning.
Each supported scanner has two Imagenation dialog boxes associated with it: Scan Options, and Scan. The Scan Options dialog box contains options that are not often changed once set, and it should not be open when you are setting the parameters that it contains.
The Scan dialog box, on the other hand, contains settings that could change with every document scanned. If it is not open when you issue any scanning calls, Imagenation will open it.
To request and set scanning options
· Use GetScanParameter and SetScanParameter (see Scanning parameters).
Tip: Requesting all possible values for a scan parameter
To begin scanning with the defined parameters:
· Use the StartScan transaction.
When a scan is started, Imagenation sends a NotifyIM -- ScanStart notification, if it has been registered.
When the scanning process has finished, Imagenation sends a NotifyIM -- ScanComplete notification. Its data syntax contains the docwinID, the scan file name, the number of pages scanned, and whether the scan was successful.
Some parameters can be changed during scanning (through the API or the user interface). For details on which ones, in Imagenation, press F1 when the Scan dialog box is displayed.
To cancel a scan:
· Use the StopScan transaction.
The scan is canceled.
You can also control how settings are displayed in the Scan dialog box. For details, click Customizing the Scan dialog box.
See also