MailingLabel.PrintOutByID Method (Word)
Prints a label or a page of labels with the same address.
Syntax
expression .PrintOutByID(LabelID, Address, ExtractAddress, LaserTray, SingleLabel, Row, Column, PrintEPostageLabel, Vertical)
expression An expression that returns a MailingLabel object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
LabelID |
Optional |
Variant |
The mailing label identification. |
Address |
Optional |
Variant |
The text for the label address. |
ExtractAddress |
Optional |
Variant |
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 |
Optional |
Variant |
The laser printer tray to be used. Can be any WdPaperTray constant. |
SingleLabel |
Optional |
Variant |
True to print a single label; False to print an entire page of the same label. |
Row |
Optional |
Variant |
The label row for a single label. Not valid if SingleLabel is False. |
Column |
Optional |
Variant |
The label column for a single label. Not valid if SingleLabel is False. |
PrintEPostageLabel |
Optional |
Variant |
True to print postage using an Internet e-postage vendor. |
Vertical |
Optional |
Variant |
True prints text vertically on the label. Used for Asian-language mailing labels. |