PDA

View Full Version : Print Options in Powerpoint - is this possible?



maclamb
10-10-2006, 05:31 PM
I'd like to print a powerpoint presentation and access the various print options: as Handouts (2, 3, or 6 per page) or as Notes.
I need to do this using VBA as I want to create a batch program to print all the ppt presentation in a folder - using the special print options I dewscribe above.
1. Is this possible? I have looked at PrintOptions info on MSDN and it does not seem that these properties are accessable.
2. If possible - has any one done this - or be willing to write it for pay?

Thanks

TrippyTom
10-11-2006, 08:58 AM
From the VBA help file in Powerpoint:
'This example prints handouts of the active presentation with six slides to a page.

With ActivePresentation
.PrintOptions.OutputType = ppPrintOutputSixSlideHandouts
.PrintOut
End With

Also:
'This example sets handouts of the active presentation to contain six slides per page, orders the slides horizontally on the handouts, and prints them.

With ActivePresentation
.PrintOptions.OutputType = ppPrintOutputSixSlideHandouts
.PrintOptions.HandoutOrder = ppPrintHandoutHorizontalFirst
.PrintOut
End With

maclamb
10-11-2006, 06:23 PM
excellent - that works great.

I forgot to mention one small thing - I have to print to adobe PDF.:wot

So, while I can get VBA to invoke Adobe PDF as the printer, the batch printing stops with Adobe asking for a file name :banghead:

Paul_Hossler
04-26-2007, 07:40 PM
Maybe SendKeys at the right position in your code could push a filename into the keyboard buffer to the File Name dialog box to find??

Paul