SetPrinterTrayID

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

The SetPrinterTrayID transaction sets which paper tray the current printer uses. The value used must be one of those returned by GetPrinterTrayIDs.

Type XTYP_EXECUTE

Syntax [SetPrinterTrayID(trayID)]

Parameter

Data type

Meaning

trayID

DWORD

identifier of the tray to be used by the current printer

Release information

Added in Release 4.5.

See also

Setting paper tray options