Cannot Close TWAIN Scanning Dialog Box - Integration for Epic - English - Foundation 22.1 - OnBase - Essential - Premier - Standard - external - Standard - Essential - Premier

Integration for Epic

Platform
OnBase
Product
Integration for Epic
Release
Foundation 22.1
License
Standard
Essential
Premier

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.

  1. Open the EpicIntegrations.config file residing in the same directory as the scanning DLLs.
  2. 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.
  3. Save EpicIntegrations.config.