Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

TWAIN Device

Capture Device Grooper.Capture

Provides connectivity and control for document scanners using the TWAIN protocol.

Remarks

Overview

The Twain Device class enables Grooper to communicate with and control TWAIN-compatible document scanners. It abstracts the complexities of the TWAIN protocol, providing a consistent interface for device selection, configuration, and image acquisition.

  • Each Scanner Profile can be associated with a specific TWAIN Device for scanning operations.
  • Supports a wide range of TWAIN hardware, including flatbed and sheet-fed scanners.
  • Handles device initialization, scan execution, error reporting, and event notification.

Configuration and Usage

  • Select the desired scanner using the 'Device Name' property.
  • Configure options such as 'Hide Interface', 'Enable Compression', 'Scan Ahead', and 'Compression Mode' to match your workflow and device capabilities.
  • Use the Scan View to interactively scan documents, preview images, and respond to device events.
  • Device-specific settings are stored in the 'Device Settings' property and are automatically loaded and saved as needed.

Features

  • Scan Ahead:
    When enabled, scanned pages are buffered in memory, allowing the scanner to operate at full speed without waiting for each image to be processed.
  • Compression Support:
    Supports multiple compression modes via the 'Compression Mode' property, including Twain Compression Modes such as 'Jpeg', 'Group4', and 'Lzw', depending on device support.
  • User Interface Control:
    The 'Hide Interface' property allows the scanner's native UI to be shown or hidden during scanning, subject to driver support.
  • Error Handling:
    Device and scan errors are reported through events and surfaced in the Grooper UI for operator awareness.

Best Practices

  • Test scanner configuration and settings in the Scan View before deploying to production.
  • Use the 'Scan Ahead' feature to maximize throughput on high-speed devices.
  • Select the appropriate 'Compression Mode' to balance image quality and file size.
  • Ensure the correct TWAIN Device is selected for your hardware environment.

Properties

NameTypeDescription
General
Options

See Also

Used By

Notification