| Description: |
CapGet() returns the current list of available printer devices, along with the one currently being used for negotiation.
CapSet() selects the current device for negotiation, and optionally constrains the list.
Top/Bottom refers to duplex devices, and indicates 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.
|
| Remarks: |
Use this capability to determine which printers are available for negotiation, and to select a specific printer prior to negotiation.
|
| Data type: |
Integer
|
| Default value: |
No default
|
| Allowed values: |
TWPR_IMPRINTERTOPBEFORE(0), TWPR_IMPRINTERTOPAFTER(1), TWPR_IMPRINTERBOTTOMBEFORE(2), TWPR_IMPRINTERBOTTOMAFTER(3), TWPR_ENDORSERTOPBEFORE(4), TWPR_ENDORSERTOPAFTER(5), TWPR_ENDORSERBOTTOMBEFORE(6), TWPR_ENDORSERBOTTOMAFTER(7)
|
| CapType for GET: |
TW_ENUMERATION,
TW_ONEVALUE
|
| CapType for SET: |
TW_ENUMERATION,
TW_ONEVALUE
|
| See also: |
CAP_PRINTERENABLED,
CAP_PRINTERINDEX,
CAP_PRINTERMODE,
CAP_PRINTERSTRING,
CAP_PRINTERSUFFIX
|
|