Chronition Print & PDF adds “Print” and “Download PDF” buttons to your posts, pages and custom post types. Visitors get a clean, readable document without your theme’s menus, sidebars, ads or share bars.
PDFs are generated on your own server by the bundled Dompdf library. No account and no third-party PDF service are needed.
Everything above is free and fully functional. An optional, separately sold add-on, Chronition Print & PDF Pro, adds cover pages, multi-post eBooks, image watermarks, header and footer layouts, password-protected PDFs, lead-capture and members-only downloads, download statistics, custom font uploads and QR codes. It is not needed to use this plugin.
Buttons are added automatically above the content. To place them yourself, set Placement to “Manual only” and use:
Shortcode:
[cwpp_buttons]
[cwpp_buttons pdf="no"]
[cwpp_buttons id="42" align="center" style="solid"]
[cwpp_buttons print_label="Print article" pdf_label="Save PDF"]
Template tag:
<?php if ( function_exists( 'cwpp_buttons' ) ) { cwpp_buttons(); } ?>
Direct links: add ?cwpp=print or ?cwpp=pdf to the address of any enabled post. Add &view=1 to open the PDF in the browser instead of downloading it.
Custom template: copy templates/document.php from the plugin to your-theme/chronition-print-pdf/document.php.
Filters: cwpp_is_enabled, cwpp_engine, cwpp_document_data, cwpp_document_css, cwpp_design_tokens, cwpp_template, cwpp_filename, cwpp_buttons_html, cwpp_dompdf_options, cwpp_document_hash_data, cwpp_settings_tabs.
Actions: cwpp_document_before_sheet, cwpp_document_sheet_end, cwpp_document_after_sheet, cwpp_pdf_rendered, cwpp_before_serve, cwpp_pdf_served, cwpp_settings_panels.
This plugin does not contact any external service by default.
Google Fonts (optional, off by default). If you turn on Settings Print & PDF Advanced Theme fonts, and your theme’s fonts are only available in WOFF2 format, your server requests TrueType versions of those fonts from Google Fonts so they can be embedded in PDFs.
fonts.googleapis.com, and requests for the font files to fonts.gstatic.com. Like any web request, this includes your server’s IP address. No information about your visitors or your content is sent.Images hosted on other websites (optional, off by default). If you turn on Advanced Images Allow images hosted on other domains, your server downloads images that your posts embed from other websites so they can be included in PDFs. Only the image URLs in your own content are requested.
PDF generation by Dompdf (LGPL-2.1) with php-font-lib and php-svg-lib (LGPL), php-css-parser (MIT) and html5-php (MIT), bundled in lib/dompdf. DejaVu fonts are included under the Bitstream Vera / DejaVu licence.