Topics

PDF Generation

To enable PDF Generation in Exponent, you'll need to install a PDF Generation Engine.  We currently support four different engines:

  • mPDF v5, v6, v7 & v8
  • dompdf v6, v7, & v8
  • HTML2PDF v4 & v5
  • WKHTMLtoPDF

To enable the 'Export to PDF' feature, you'll need to install a PDF Generation Engine and turn on the 'Display Printer-Friendly and Export-to-PDF Links' in a module's configuration settings.

mPDF6 and mPDF

The mPDF engine is the preferred package which can be downloaded from their site or here and installed as an extension (Must be as a Patch) (or use the 'Mod' tab).  Or you may download the package and extract in the root folder.  mPDF6 is the newest version and provides better output in some cases.  Due to the size of mPDF6, we do not provide a copy of the package, so it must be obtained from their site.

dompdf

The dompdf package is customized for Exponent CMS and can be downloaded here and installed as an extension (Must be as a Patch) (or use the 'Mod' tab).  Or you may download the package and extract in the root folder.

WKHTMLtoPDF 

WKHTMLtoPDF locally, and enter the path to the binary and the temp folder in this tab.    WKHTMLtoPDF binaries can be found here.

Loading Help