DefaultTrayID Property

See Also         Example         Applies To

Returns or sets the default tray your printer uses to print documents. Read/write Long.

Can be one of the following WdPaperTray constants:

wdPrinterAutomaticSheetFeed

wdPrinterDefaultBin

wdPrinterEnvelopeFeed

wdPrinterFormSource

wdPrinterLargeCapacityBin

wdPrinterLargeFormatBin

wdPrinterLowerBin

wdPrinterManualEnvelopeFeed

wdPrinterManualFeed

wdPrinterMiddleBin

wdPrinterOnlyBin

wdPrinterPaperCassette

wdPrinterSmallFormalBin

wdPrinterTractorFeed

wdPrinterUpperBin


Remarks

You can use the DefaultTray property with a string from the Default tray box on the Print tab in the Options dialog box to set this same option.