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

prnOfficePreference Enumeration

Office to PDF conversion preference constants.

PRN_MSOFFICE_DIRECT_PRINT = 0

Print directly from Microsoft Office. This is the same as WordPrintJob, ExcelPrintJob, PowerPointPrintJob, PublisherPrintJob, VisioPrintJob. Office automation is used to print directly from Microsoft Office. This is the default option, which is compatible with all previous versions of easyPDF SDK.

PRN_MSOFFICE_EXTENDED_PRINT = 1

Print via XPS from Microsoft Office 2007 or 2010. This is the same as WordPrintJobEx, ExcelPrintJobEx, PowerPointPrintJobEx, PublisherPrintJobEx, VisioPrintJobEx with NativeOfficePDF set to False. Office automation is used to create an intermediate XPS file, which is then printed with automatic hyperlink extraction. This requires Microsoft Office 2007 or newer.

PRN_MSOFFICE_NATIVE_PDF = 2

Export PDF from Microsoft Office 2007 or 2010. This is the same as WordPrintJobEx, ExcelPrintJobEx, PowerPointPrintJobEx, PublisherPrintJobEx, VisioPrintJobEx with NativeOfficePDF set to True. The PDF is generated by Microsoft Office directly. This requires Microsoft Office 2007 or newer. Office 2010 is recommended for its better PDF support.

PRN_OPENOFFICE_NATIVE_PDF = 3

Export PDF from OpenOffice. This only works for documents supported by OpenOffice, such as DOC, DOCX, TXT, XLS, XLSX, PPT, PPTX. OpenOffice cannot open Publisher or Visio files, therefore PublisherPrintJob and VisioPrintJob are used for those, respectively. OpenOffice must be installed.