Class PrintOptions (PowerPoint VBA)

Contains print options for a presentation.

Set

To use a PrintOptions class variable it first needs to be instantiated, for example

Dim pos as PrintOptions
Set pos = ActivePresentation.PrintOptions

The following procedures can be used to set variables of type PrintOptions: Presentation.PrintOptions and View.PrintOptions

Themes

The following procedures in this class have been grouped together and are described on a separate theme page

Print with its procedures ActivePrinter, PrintColorType, PrintComments, PrintFontsAsGraphics, PrintHiddenSlides and PrintInBackground

Properties

Collate determines whether a complete copy of the specified presentation is printed before the first page of the next copy is printed.

ActivePresentation.PrintOptions.Collate = msoTrue

FitToPage determines whether the slides will be scaled to fill the page they're printed on.

ActivePresentation.PrintOptions.FitToPage = msoTrue

FrameSlides determines whether a thin frame is placed around the border of the printed slides.

ActivePresentation.PrintOptions.FrameSlides = msoTrue

HandoutOrder returns or sets the page layout order in which slides appear on printed handouts that show multiple slides on one page.

ActivePresentation.PrintOptions.HandoutOrder = ppPrintHandoutHorizontalFirst

HighQuality indicates whether to print in high quality.

ActivePresentation.PrintOptions.HighQuality = msoTrue

NumberOfCopies returns or sets the number of copies of a presentation to be printed.

ActivePresentation.PrintOptions.NumberOfCopies = 2

OutputType returns or sets a value that indicates which component (slides, handouts, notes pages, or an outline) of the presentation is to be printed.

ActivePresentation.PrintOptions.OutputType = ppPrintOutputBuildSlides

Parent returns the parent object for the specified object.

Dim objParent As Object
Set objParent = ActivePresentation.PrintOptions.Parent

Ranges returns the PrintRanges object, which represents the ranges of slides in the presentation to be printed.

Dim prsRanges As PrintRanges
Set prsRanges = ActivePresentation.PrintOptions.Ranges

RangeType returns or sets the type of print range for the presentation.

ActivePresentation.PrintOptions.RangeType = ppPrintAll

sectionIndex returns the index of the selected section in the PrintOptions object.

ActivePresentation.PrintOptions.sectionIndex =

SlideShowName returns or sets the name of the custom slide show to print.

ActivePresentation.PrintOptions.SlideShowName = "tech talk"