Partager via


MailingLabel.DefaultLaserTray Property (Word)

Returns or sets the default paper tray that contains sheets of mailing labels. Read/write WdPaperTray.

Syntax

expression .DefaultLaserTray

expression Required. A variable that represents a MailingLabel object.

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

See Also

Concepts

MailingLabel Object Members

MailingLabel Object