CAP_AUTOSCAN

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: CAP_AUTOSCAN

CAP_AUTOSCAN

Description

This capability is intended to boost the performance of a Source. The fundamental assumption behind AutoScan is that the device is able to capture the number of images indicated by the value of CAP_XFERCOUNT without waiting for the Application to request the image transfers. This is only possible if the device has internal buffers capable of caching the images it captures.

Some high volume devices are incapable of anything but CAP_AUTOSCAN being equal to TRUE. If the scanner supports both TRUE and FALSE it should set its MSG_RESET value to TRUE. Most of the applications on the market expect this behavior.

Application

The application should check the TW_PENDINGXFERS Count, and continue to scan until it becomes .

When AutoScan is set to TRUE, the Application should not rely on just the paper sensors (for example, CAP_FEEDERLOADED) to determine if there are images to be transferred. The latency between the Source and the Application makes it very likely that at the time the sensor reports FALSE, there may be more than one image waiting for the transfer inside of the device’s buffers. Applications should use the TW_PENDINGXFERS Count returned from DG_CONTROL / DAT_PENDINGXFERS / MSG_ENDXFER to determine whether or not there are more images to be transferred.

Values

Type: TW_BOOL

Value after MSG_OPENDS: (may be remembered from a previous session)

After MSG_RESET/MSG_RESETALL: TRUE

Allowed Values: TRUE or FALSE

Containers

MSG_GET TW_ONEVALUE TW_ENUMERATION // 2.0 and higher

MSG_GETCURRENT TW_ONEVALUE

MSG_GETDEFAULT TW_ONEVALUE

MSG_SET TW_ONEVALUE

MSG_SETCONSTRAINT TW_ONEVALUE TW_ENUMERATION // 2.0 and higher

MSG_RESET TW_ONEVALUE

MSG_QUERYSUPPORT TW_ONEVALUE

Required By

When a mid- to high-volume Source supports transfer of multiple images ahead of retrieval.

TWAIN Version Introduced

Version 1.6

Related

CAP_AUTOFEED CAP_MAXBATCHBUFFERS

TWAIN Notice

Where would you like to scan from? Scan in Web Apps Scan in Java Scan in .NET