Microsoft Word Suite
313
Command: print out
Prints all or part of the specified document. The arguments for this method correspond to the
options in the Print dialog box (File menu).
Syntax
print out application/document/window Required. An expression that returns an application,
document, or window object.
[background Boolean] Optional. True to have the script continue while Word prints the
document.
[append Boolean] Optional. True to append the specified document to the file name specified
by the output file name argument. False to overwrite the contents of output file name.
[print out range enumeration] Optional. The page range. Can be one of the following: print all
document, print current page, print from to, print range of pages, or print selection.
[output file name Unicode text] Optional. If print to file is true, this argument specifies the path
and file name of the output file.
[page from integer] Optional. The starting page number when print out range is set to print
from to.
[page to integer] Optional. The ending page number when print out range is set to print from
to.
[print out item enumeration] Optional. The item to be printed. Can be one of the following:
print auto text entries, print comments, print document content, print key assignments,
print properties, print envelope, or print styles.
[print copies integer] Optional. The number of copies to be printed.
[print out page type enumeration] Optional. The type of pages to be printed. Can be one of the
following: print all pages, print even pages only, or print odd pages only.
[print to file Boolean] Optional. True to send printer instructions to a file. Make sure to specify
a file name with output file name.
[collate Boolean] Optional. When printing multiple copies of a document, true to print all pages
of the document before printing the next copy.
[file name Unicode text] Optional. The path and file name of the document to be printed. If this
argument is omitted, Word prints the active document. Available only with the application
object.
[manual duplex print Boolean] Optional. True to print a twosided document on a printer
without a duplex printing kit.
Example
This example prints the current page of the active document.
print out active document print out range print current page