Share via


PrintOut Method [Publisher 2003 VBA Language Reference]

Prints all or part of the specified publication.

expression.PrintOut(From, To, PrintToFile, Copies, Collate)

expression Required. An expression that returns one of the objects in the Applies To list.

From  Optional Long. The starting page number.

To  Optional Long. The ending page number.

PrintToFile  Optional String. The path and file name of a document to be printed to a file.

Copies  Optional Long. The number of copies to be printed.

Collate  Optional Boolean. When printing multiple copies of a document, True to print all pages of the document before printing the next copy.

Example

This example prints the active publication.

Sub PrintActivePublication()
    ThisDocument.PrintOut
End Sub

Applies to | Document Object