Module Description
Entity Print allows you to print any Drupal entity (Drupal 7, 9 and 10) or View (Drupal 9 and 10 only) to PDF.
The module is lightweight compared to other modules like the Print module, has full test coverage and is ready to be used in production for Drupal 7, 9 and 10.
Documentation Drupal 7 Quick Start
* Ensure wkhtmltopdf is installed.
* Visit the URL: example.com/entityprint/[entity_type]/[entity_id] (for example, /entityprint/node/1 )
* Set the appropriate permissions to allow various roles to access the printed entity
More in depth docs for Drupal 7
Drupal 9 / Drupal 10 Quick Start
* Ensure you have composer installed and are using the drupal.org packagist. curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer composer config repositories.drupal composer https://packages.drupal.org/8
* Run composer require "drupal/entity_print 2.x" in the site docroot
For entities:
* Position the "View PDF" field on "Manage Display" to place a link to the PDF version of the entity.
* Visit an entity with the field enabled and click the "View PDF" link
* Set the appropriate permissions to allow various roles to access the printed entity
For views:
* Add the "Global: Print" plugin to the header or footer of the view
* Set the appropriate permissions to allow various roles to access the printed view
More in depth docs for Drupal 9 / Drupal 10
Drupal 8-x-2.x (Recommended branch) The 2.x branch in Drupal 8 has generic support for PDF, EPub, Word documents and more. It is currently under active development. We welcome testers and issue reports. More information on PDF engine support.
The module is lightweight compared to other modules like the Print module, has full test coverage and is ready to be used in production for Drupal 7, 9 and 10.
Documentation Drupal 7 Quick Start
* Ensure wkhtmltopdf is installed.
* Visit the URL: example.com/entityprint/[entity_type]/[entity_id] (for example, /entityprint/node/1 )
* Set the appropriate permissions to allow various roles to access the printed entity
More in depth docs for Drupal 7
Drupal 9 / Drupal 10 Quick Start
* Ensure you have composer installed and are using the drupal.org packagist. curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer composer config repositories.drupal composer https://packages.drupal.org/8
* Run composer require "drupal/entity_print 2.x" in the site docroot
For entities:
* Position the "View PDF" field on "Manage Display" to place a link to the PDF version of the entity.
* Visit an entity with the field enabled and click the "View PDF" link
* Set the appropriate permissions to allow various roles to access the printed entity
For views:
* Add the "Global: Print" plugin to the header or footer of the view
* Set the appropriate permissions to allow various roles to access the printed view
More in depth docs for Drupal 9 / Drupal 10
Drupal 8-x-2.x (Recommended branch) The 2.x branch in Drupal 8 has generic support for PDF, EPub, Word documents and more. It is currently under active development. We welcome testers and issue reports. More information on PDF engine support.
Module Link
Project Usage
21219
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Entity Print module aims to solve the task of printing Drupal entities and views to PDF in a lightweight and production-ready manner for Drupal 7, 9, and 10.
Data Name
entity_print