CAP_PRINTERMODE

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: CAP_PRINTERMODE

CAP_PRINTERMODE

Description

Based on the value of this capability, printed text will consist of:

TWPM_SINGLESTRING a single line consisting of the value of CAP_PRINTERSTRING.

TWPM_MULTISTRING all the strings in the value of CAP_PRINTERSTRING, printed one per line, in order.

TWPM_COMPOUNDSTRING the value of CAP_PRINTERSTRING followed by the printer’s current counter value, followed by the value of CAP_PRINTERSUFFIX.

TWPM_IMAGEADDRESSSTRING the value of CAP_PRINTERSTRING followed by the printer's current image address (active TWEI_IAFIELD _VALUE fields), followed by the value of CAP_PRINTERSUFFIX.

Application

Negotiate this capability to specify the mode of printing to use when the current CAP_PRINTER device is enabled.

Source

Values

If supported, use the specified mode for future image acquisitions.

Type: TW_UINT

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

After MSG_RESET/MSG_RESETALL: (selected by the data source writer)

Allowed Values: TWPM_SINGLESTRING TWPM_MULTISTRING TWPM_COMPOUNDSTRING TWPM_IMAGEADDRESSSTRING

Containers

MSG_GET TW_ONEVALUE TW_ENUMERATION

MSG_GETCURRENT TW_ONEVALUE

MSG_GETDEFAULT TW_ONEVALUE

MSG_SET TW_ONEVALUE

MSG_SETCONSTRAINT TW_ONEVALUE

TW_ENUMERATION

MSG_RESET TW_ONEVALUE

MSG_QUERYSUPPORT TW_ONEVALUE

Required By

When a Source supports CAP_PRINTERSTRING and / or CAP_PRINTERSUFFIX.

TWAIN Version Introduced

Version 1.8

Related

CAP_PRINTER CAP_PRINTERCHARROTATION CAP_PRINTERENABLED CAP_PRINTERFONTSTYLE CAP_PRINTERINDEXNUMDIGITS CAP_PRINTERINDEXSTEP CAP_PRINTERINDEXTRIGGER CAP_PRINTERSTRING CAP_PRINTERSTRINGPREVIEW CAP_PRINTERSUFFIX CAP_PRINTERVERTICALOFFSET

TWAIN Notice

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