GetPrinterTrayIDs

All Editions  image\bltlrgss.gif Related Transactions  image\bltlrgss.gif Example

The GetPrintTrayIDs transaction returns the identifiers of the paper trays available to the current printer.

Type XTYP_REQUEST

Syntax [GetPrinterTrayIDs()]

Reply

Data type

Values

Meaning

count

WORD

1 | 2 | 3 | …

number of trays available to the current printer

TrayIDs

WORD

TrayID1, TrayID2, …

numerical identifiers of all available paper trays

Release information

Added in Release 4.5.

See also

Setting paper tray options