easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

PowerPointPrintJobEx Object Description

This object is a specialized version of the PrintJob object. In addition to all the features from the PrintJob object, the PowerPointPrintJobEx object includes numerous PowerPoint specific features.

If you need to set PowerPoint specific options, use either PowerPointPrintJobEx or PowerPointPrintJob instead of the generalized PrintJob object. However, do not use this object for printing documents other than the ones PowerPoint can handle. Some supported file types for PowerPointPrintJobEx include PPT and PPTX.

While PowerPointPrintJobEx and PowerPointPrintJob share some common properties, there are considerable differences between the two as well. Be sure to refer to the documentation to see which PowerPoint specific options each respective object supports. Of particular note is that PowerPointPrintJobEx supports two considerably different modes of operation; see the NativeOfficePDF property for more information on this.

NOTE: Due to the technical limitation of PowerPoint, PowerPointPrintJob cannot perform multiple conversions at once. You can still execute PrintOut method from multiple instances at the same time, but the actual conversion will happen one at a time, and waiting print jobs will timeout if they wait for more than the value specified in QueueWaitTimeout property.

Important Note:

Be aware that PowerPointPrintJobEx only works with PowerPoint 2007 or PowerPoint 2010. Note that PowerPoint 2007 requires the free "Save as PDF or XPS" add-in for Office 2007 to be installed. This add-in is available from Microsoft and does not install with easyPDF SDK. PowerPoint 2010 does not require any add-ins.

Furthermore, if NativeOfficePDF is False (its default value), then .NET 3.0 or higher plus XmlLite (XmlLite should install as part of Office 2007) are required to use PowerPointPrintJobEx. If NativeOfficePDF is True, then this requirement does not apply.

Example Usage in VBScript

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.PowerPointPrintJobEx
' Set PowerPoint specific option
oPrintJob.FrameSlides = True
oPrintJob.PrintOut "C:\test\input.ppt", "C:\test\output.pdf"

Example Usage in VB.NET

Dim oPrinter As Printer = CreateObject("easyPDF.Printer.8")
Dim oPrintJob As PowerPointPrintJobEx = oPrinter.PowerPointPrintJobEx
' Set PowerPoint specific option
oPrintJob.FrameSlides = True
oPrintJob.PrintOut "C:\test\input.ppt", "C:\test\output.pdf"

Example Usage in C#

Printer oPrinter = new Printer();
PowerPointPrintJobEx oPrintJob = oPrinter.PowerPointPrintJobEx;
// Set PowerPoint specific option
oPrintJob.FrameSlides = true;
oPrintJob.PrintOut(@"C:\test\input.ppt", @"C:\test\output.pdf");