CAP_PRINTERINDEXNUMDIGITS

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: CAP_PRINTERINDEXNUMDIGITS

CAP_PRINTERINDEXNUMDIGITS

Description

Right justify the counter of the current CAP_PRINTER device. The fill character is set by CAP_PRINTERLEADCHAR.

Application

Set it to 0 to make it left justified. Allowing the counter to exceed the number of available digits results in undefined behavior.

Source

Values

Set the current printer's counter field width (the numbers are right justified). If set to zero the numbers are left justified.

If the counter value exceeds the number of available digits, the source can choose the action. For example, the source could show the correct number, adding the extra needed digits. It could truncate the number to the specified number of digits. Or, finally, it could end the session with an error.

Type: TW_UINT

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

After MSG_RESET/MSG_RESETALL:

Allowed Values: Positive values

Containers

MSG_GET TW_ONEVALUE TW_ENUMERATION TW_RANGE MSG_GETCURRENT TW_ONEVALUE MSG_GETDEFAULT TW_ONEVALUE MSG_SET TW_ONEVALUE TW_ENUMERATION TW_RANGE MSG_SETCONSTRAINT TW_ONEVALUE TW_ENUMERATION TW_RANGE MSG_RESET TW_ONEVALUE MSG_QUERYSUPPORT TW_ONEVALUE

Required By

None

TWAIN Version Introduced

Version 2.3

Related

CAP_PRINTER CAP_PRINTERCHARROTATION CAP_PRINTERENABLED CAP_PRINTERFONTSTYLE CAP_PRINTERINDEXSTEP CAP_PRINTERINDEXTRIGGER CAP_PRINTERMODE 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