Indicates whether PDF printing should be used.
true to enable PDf printing; otherwise, false. The default value is false.
PDF printing leverages a browser's native support for PDF files to streamline the printing process.
When this property is set to true, the Document Viewer will call PDFPrinter.asPrintablePDF to generate a PDF-compatible version of the document currently loaded into the viewer. For browsers that support creating local PDF URL resources, the PDF URL will be created by calling createObjectUrl. The parent for the print options needs to be set to an IFrame for these browsers. If autoOpenBrowserPrint is set to true, the life cycle of these objects will be handled internally; otherwise, DocumentViewer.print will resolve to a PDFPrintResult object.
Internet Explorer is a special case as far as PDF printing is concerned. CreateObjectUrl is not supported for PDF objects, and it is not possible to directly call print on an IFrame containing a PDF resource. Native PDF printing in IE still leverages an ActiveX Adobe control as well. Due to this, the workflow in IE has to be handled slightly differently, as follows:
Firefox does not support printing PDFs directly due to an internal issue with their PDFJS configurations. Trying to call DocumentViewer.print with this flag set to true in Firefox will throw a "feature not supported" exception.