DefaultLaserTray Property

Applies To

MailingLabel object.

Description

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

Can be one of the following WdPaperTray constants:

  • wdPrinterAutomaticSheetFeed
  • wdPrinterDefaultBin
  • wdPrinterEnvelopeFeed
  • wdPrinterFormSource
  • wdPrinterLargeCapacityBin
  • wdPrinterLargeFormatBin
  • wdPrinterLowerBin
  • wdPrinterManualEnvelopeFeed
  • wdPrinterManualFeed
  • wdPrinterMiddleBin
  • wdPrinterOnlyBin
  • wdPrinterPaperCassette
  • wdPrinterSmallFormatBin
  • wdPrinterTractorFeed
  • wdPrinterUpperBin

See Also

EnvelopeFeederInstalled property, FeedSource 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