DefaultLaserTray Property 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