Returns or sets the default paper tray that contains sheets of mailing labels. Read/write WdPaperTray.
WdPaperTray can be one of these WdPaperTray constants. |
wdPrinterAutomaticSheetFeed |
wdPrinterDefaultBin |
wdPrinterEnvelopeFeed |
wdPrinterFormSource |
wdPrinterLargeCapacityBin |
wdPrinterLargeFormatBin |
wdPrinterLowerBin |
wdPrinterManualEnvelopeFeed |
wdPrinterManualFeed |
wdPrinterMiddleBin |
wdPrinterOnlyBin |
wdPrinterPaperCassette |
wdPrinterSmallFormatBin |
wdPrinterTractorFeed |
wdPrinterUpperBin |
expression.DefaultLaserTray
expression Required. An expression that returns one of the objects in the Applies To list.
Example
This example checks to determine whether the mailing label printer is set for feed labels manually, and then it displays a message on the status bar.
If Application.MailingLabel.DefaultLaserTray = _
wdPrinterManualEnvelopeFeed Then
StatusBar = "Printer set for feeding labels manually"
Else
StatusBar = "Check printer paper tray setting"
End If
This example sets the mailing-label paper tray to the upper bin.
Application.MailingLabel.DefaultLaserTray = wdPrinterUpperBin