Print related procedures in class View (PowerPoint VBA)

This page presents procedures from class View related to the theme Print: PrintOptions and PrintOut

PrintOptions

Returns a PrintOptions object that represents print options that are saved with the specified presentation.

Dim posPrintOptions As PrintOptions
Set posPrintOptions = ActiveWindow.View.PrintOptions

PrintOut

Prints the specified presentation.

The Collate parameter value can be one of these MsoTriState constants.

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

ActiveWindow.View.PrintOut

Arguments

The following arguments are optional

From (Long) - The number of the first page to be printed. If this argument is omitted, printing starts at the beginning of the presentation. Specifying the To and From arguments sets the contents of the PrintRanges object and sets the value of the RangeType property for the presentation.

To (Long) - The number of the last page to be printed. If this argument is omitted, printing continues to the end of the presentation. Specifying the To and From arguments sets the contents of the PrintRanges object and sets the value of the RangeType property for the presentation.

PrintToFile (String) - The name of the file to print to. If you specify this argument, the file is printed to a file rather than sent to a printer. If this argument is omitted, the file is sent to a printer.

Copies (Long) - The number of copies to be printed. If this argument is omitted, only one copy is printed. Specifying this argument sets the value of the NumberOfCopies property.

Collate (Office.MsoTriState) - If this argument is omitted, multiple copies are collated. Specifying this argument sets the value of the Collate property.