CAP_PRINTER

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: CAP_PRINTER

CAP_PRINTER

Description

MSG_GET returns the current list of available printer devices, along with the one currently being used for negotiation. MSG_SET selects the current device for negotiation, and optionally constrains the list. MSG_RESET restores all the available devices (useful after MSG_SET has been used to constrain the list).

Top/Bottom refer to duplex devices, and indicate if the printer is writing on the top or the bottom of the sheet of paper. Simplex devices use the top settings.

Before/After indicates whether printing occurs before or after the sheet of paper has been scanned.

Application

Use this capability to determine which printers are available for negotiation, and to select a specific printer prior to negotiation.

Source

Values

Imprinters are used to print data on documents at the time of scanning, and may be used for any purpose. Endorsers are more specific in nature, stamping some kind of proof of scanning on the document. Applications may opt to use imprinters for endorsing documents.

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: TWPR_IMPRINTERTOPBEFORE TWPR_IMPRINTERTOPAFTER TWPR_IMPRINTERBOTTOMBEFORE TWPR_IMPRINTERBOTTOMAFTER TWPR_ENDORSERTOPBEFORE TWPR_ENDORSERTOPAFTER TWPR_ENDORSERBOTTOMBEFORE TWPR_ENDORSERBOTTOMAFTER

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

All Sources that control a printer type device.

TWAIN Version Introduced

Version 1.8

Related

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