MailingLabel.PrintOut Method (Word)
Prints a label or a page of labels with the same address.
Syntax
expression .PrintOut(Name, Address, ExtractAddress, LaserTray, SingleLabel, Row, Column, PrintEPostageLabel, Vertical)
expression Required. A variable that represents a MailingLabel object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Name |
Optional |
Variant |
The mailing label name. |
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. |
Example
This example prints a page of Avery 5664 mailing labels, using the specified address.
addr = "Jane Doe" & vbCr & "123 Skye St." _
& vbCr & "OurTown, WA 98107"
Application.MailingLabel.PrintOut Name:="5664", Address:=addr