CAP_SHEETCOUNT

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: CAP_SHEETCOUNT

CAP_SHEETCOUNT

Description

Capture the specified number of sheets of paper. A single sheet of paper may result in zero or more images, depending on various settings in the driver (i.e. CAP_DUPLEXENABLED, ICAP_AUTODISCARDBLANKPAGES, etc.)This is a read only capability.

Application

An application must set CAP_XFERMECH to -1 before using this capability.

A CAP_SHEETCOUNT value of 0 requests that all of the available sheets are captured. A value of 1 or greater requests that only that number of sheets are captured.

Use DAT_EXTIMAGEINFO to determine which sheet and which side of a sheet an image came from

Source

Values

If CAP_XFERCOUNT is not equal to -1, then CAP_SHEETCOUNT is ignored.

If the value of CAP_SHEETCOUNT is equal to 0, then all of the available sheets are captured. For values greater than 0, the scanner captures the specified number of sheets. If the scanner runs out of sheets before the CAP_SHEETCOUNT value is reached, then the scanner automatically transitions to state 5.

Type: TW_UINT

Value after MSG_OPENDS: 0

After MSG_RESET/MSG_RESETALL: 0

Allowed Values: 0 – (2^32)-1

Containers

MSG_GET TW_ONEVALUE

TW_RANGE

MSG_GETCURRENT TW_ONEVALUE

MSG_GETDEFAULT TW_ONEVALUE

MSG_SET TW_ONEVALUE

TW_RANGE

MSG_SETCONSTRAINT TW_RANGE

MSG_RESET TW_ONEVALUE

MSG_QUERYSUPPORT TW_ONEVALUE

Required By

None

TWAIN Version Introduced

Version 2.4

Related

CAP_XFERCOUNT

TWAIN Notice

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