When a TWAIN-compliant scanner finishes scanning, the TWAIN scanning dialog box may not close. As a result, the Scan Acquisition Server is left waiting for more documents, even though scanning is complete.
This behavior occurs because some TWAIN scanners do not send the proper message when they are finished scanning.
To address this issue, use the ForceCloseTwain setting in EpicIntegrations.config. This setting allows the Scan Acquisition Server to automatically close the TWAIN dialog box when the Scan Acquisition Server stops receiving images from the scanner.
- Open the EpicIntegrations.config file residing in the same directory as the scanning DLLs.
- Under <Scan>, set the ForceCloseTwain value to 1. This setting instructs the Scan Acquisition Server to close the scanner dialog box as soon as the scanner finishes sending a page. To disable this setting, change the value to 0.
- Save EpicIntegrations.config.