Microsoft Word Suite
314
This example prints the first three pages of the document in the active window.
print out active window print out range print from to page from 1 page to 3
This example prints the comments in the active document.
if (get count of Word comments of active document) 1 then
print out active document print out item print comments
end if
Command: print out envelope
Prints an envelope without adding it to the active document.
Syntax
print out envelope envelope Required. An expression that returns an envelope object.
[extract address Boolean] Optional. True to use the text marked by the EnvelopeAddress
bookmark (a userdefined bookmark) as the recipients address.
[address Unicode text] Optional. A string that specifies the recipients address (ignored if extract
address is true).
[auto text Unicode text] Optional. The name of the AutoText entry that includes a recipients
address.
[omit return address Boolean] Optional. True to omit the return address.
[return address Unicode text] Optional. A string that specifies the return address.
[return autotext Unicode text] Optional. The name of the AutoText entry that includes a return
address.
[print bar code Boolean] Optional. True to add a POSTNET bar code. For U.S. mail only.
[print FIMA Boolean] Optional. True to add a Facing Identification Mark (FIMA) for use in
presorting courtesy reply mail. For U.S. mail only.
[envelope size Unicode text] Optional. A string that specifies the envelope size. The string
should match one of the sizes listed on the Envelope size popup menu in the Custom Page
Options dialog box (for example, Size 10).
[envelope height integer] Optional. The height of the envelope (in points) when the envelope
size argument is set to Custom size.
[envelope width integer] Optional. The width of the envelope (in points) when the envelope
size argument is set to Custom size.
[feed source Boolean] Optional. True to use the setting of the feed source property of the
envelope object when printing the envelope.
[address from left integer] Optional. The distance (in points) between the left edge of the
envelope and the recipients address.
[address from top integer] Optional. The distance (in points) between the top edge of the
envelope and the recipients address.