Features introduced in TWAIN scan panel
This topic contains a list of features, enhancements introduced in TWAIN scan panel
Auto color mode detection
- Auto color detection option is exposed in the color mode drop-down list in Datacap Desktop TWAIN scan panel if the TWAIN scanner driver exposes this functionality.
- If the Auto color detection mode is set to identify both color and black and white images, the images scanned can be accordingly identified.
Endorser counter
An endorser is a built-in printer in the scanner that prints a string of characters on each sheet as it is scanned. If your scanner has an endorser, you can enable it and endorse (or imprint) each page before or after scanning.
- Using a text editor, create a DcDesktop.ini file inside the \Datacap\DcDesktop path of the user station.
- Add the following content to the DcDesktop.ini file and save the file:

- Relaunch Datacap Desktop and login.
- Launch TWAIN scan and scan by setting required endorser string.
Once the steps are completed, endorser counter i.e. ScannerDriverCounterValue, will be updated in DcDesktop.ini file and maintained in TWAIN scan panel.
Datacap desktop scanning through twain interface stores and applies the scanner driver configurable settings during scan time in the scanTwain.xml file.
The location of the scanTwain.xml file is found in the C:\Users\[USER}]\AppData\Roaming\ibm folder. In instances where they may be multiple scan operators, make sure to apply the same changes to all scanTwain.xml files on the scanning station.
<scannerName>PaperStream IP fi-7180</scannerName>
<twainconfigfile>C:\Users\[USER}]\AppData\Roaming\ibm\twainConfig.ltt</twainconfigfile>
<filetype>Tiff</filetype>
<compression>Group4</compression>
<pixeltype>0</pixeltype>
<resolutionxy>200</resolutionxy>
<endorseBatchID>False</endorseBatchID>
<endorserFormatString/>
<lastPageNumber>0</lastPageNumber>
<expectedpages>0</expectedpages>
<multicheck>False</multicheck><showManufacturerInterface>False</showManufacturerInterface>
<twainTransferModeNative>False</twainTransferModeNative>
<useProfileSettings>False</useProfileSettings>
<pageEndorserCounter>1</pageEndorserCounter>
<enableLogging>False</enableLogging>
<logPath>C:\Datacap\</logpath>- showManufacturerInterface
-
Default value: False
The flag, showManufacturerInterface when enabled (True) launches the scanner driver’s scan panel when the scan operator clicks on the scan button. Any scanner driver image settings selected and saved on this UI panel are then applied by the scanner during scan run-time.
- useProfileSettings
-
Default value: False
The flag, useProfileSettings when enabled (True) uses the saved configurations the selected profile and will override any images settings applied on the dcDesktop default panel during scan time.
Check with your scanner manufacturer if the scanner has the capability to expose profiles in their scan panel.
- twainTransferModeNative
-
Default value: False
The flag twainTransferModeNative when enabled (True) allows the twain toolkit to get the images scanned into the available memory as a single block thereby improving performance. It is recommended to enable this flag when scanning large volume batches.
- pageEndorserCounter
-
Default value: 1
The flag pageEndorserCounter when enabled with any integer number sets the prefix counter value used to increment scanned pages in a batch. For example, setting the pageEndorserCounter to 25, will begin incrementing the page from 25, 26, 27and so on. Check with your scanner manufacturer if the scanner exposes endorser setting feature on their scan panel before enabling this flag.
- enableLogging
-
Default value: False
- logPath
-
Default value: C:\Datacap\ folder.
The flag enableLogging when enabled (True) captures scanning related issues in a custom log file in the file folder path defined in the flag, logPath.
For example, if the enableLogging is set to True and the logPath flag is set to C\Datacap\log then a file, CustomLogs.txt is generated. Captured log entries are appended to the existing log file at the end of each scanning session. Make sure to disable the enableLogging flag when it is not required.
For more information, see Enabling logging for DcDesktop TWAIN scanning.