Edit

Share via


MailingLabel.PrintOutByID Method

Definition

Prints a label or a page of labels with the same address.

public void PrintOutByID (ref object LabelID, ref object Address, ref object ExtractAddress, ref object LaserTray, ref object SingleLabel, ref object Row, ref object Column, ref object PrintEPostageLabel, ref object Vertical);
abstract member PrintOutByID : obj * obj * obj * obj * obj * obj * obj * obj * obj -> unit
Public Sub PrintOutByID (Optional ByRef LabelID As Object, Optional ByRef Address As Object, Optional ByRef ExtractAddress As Object, Optional ByRef LaserTray As Object, Optional ByRef SingleLabel As Object, Optional ByRef Row As Object, Optional ByRef Column As Object, Optional ByRef PrintEPostageLabel As Object, Optional ByRef Vertical As Object)

Parameters

LabelID
Object

The mailing label identification.

Address
Object

The text for the label address.

ExtractAddress
Object

True to use the text marked by the "EnvelopeAddress" bookmark (a user-defined bookmark) as the label text. If this argument is specified, Address and AutoText are ignored.

LaserTray
Object

The laser printer tray. Can be one of the WdPaperTray constants.

SingleLabel
Object

True to print a single label; False to print an entire page of the same label.

Row
Object

The label row for a single label. Not valid if SingleLabel is False.

Column
Object

The label column for a single label. Not valid if SingleLabel is False.

PrintEPostageLabel
Object

True to print postage using an Internet e-postage vendor.

Vertical
Object

True prints text vertically on the label. Used for Asian-language mailing labels.

Applies to