Part of the PDF ecosystem · 19 projects
This module allows you to export data from Drupal Views into PDF format. It integrates with the Views Data Export module to create PDF outputs directly from your configured views.
This module provides an extension for Views data export module to export data to PDF.
Installation
- Download the pdf_serialization module via Composer:
composer require drupal/pdf_serialization. - Enable modules pdf_serialization along with dependent modules.
Creating a PDF view
- Create a new view or edit an existing one.
- Add a Data Export display.
- In the format section select format settings and choose 'pdf'. Expand PDF settings to set preferable page format and footer.
- Add desired fields to the view.
- Add a path, and optionally, a filename pattern.
- Optionally attach export icon to the page.
Known problem
Batch export method requires batch process workaround in DataExport view display plugin. views_data_export-3204269-8.patch this patch fixes the issue.
See how to apply patch.
Similar projects and how they are different
The differences from Entity print module:
- PDF Serialization uses Views data export module functionality.
- Administrator must enable Entity print and Entity print views modules to have a possibility to add an exportation link to the view in Header or Footer section. With PDF Serialization you just add a new data export display (that can have different (e.g. master or page display) configurations).
- PDF Serialization is more lightweight.
- Entity print uses DOMPDF library. PDF Serilization uses MPDF library.
Dependencies
- Views data export
- Drupal Serialization
- Mpdf library
Ask your assistant about PDF Serialization
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- Views data export
- serialization Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the PDF ecosystem
Most installed first