This module converts HTML content into PDF documents using the mPDF library. It allows you to generate PDFs of nodes and provides an API for developers to create custom PDF generations with options for styling, watermarks, headers/footers, and password protection.
Convert HTML pages to PDF documents using mPDF Library. It allows you to generate a PDF document of any node (by default) but possibilities are endless - you only need a valid HTML.
New branch 3.x for Drupal 10/11
Version 3.x is the successor to 8.x-2.x and should be compatible if patches #3361245, #3475769, or #3520301 are used.
If you have used any other patches, please check the issue queue. We are working hard to adopt these in 3.x in a way that maintains backward compatibility. Feel free to comment on the issues and give feedback.
Features:
- PDF creation (
www.example.com/node/[NID]/pdf) - PDF generation API is provided, developers can use this API to generate a PDF document.
- By creating your own CSS file and/or template files, it is possible to change the look of the output page to suit your taste per node type, or per HTML elements
Benefits
- Document Properties
- PDF Page settings
- Watermark Image/Text
- HTML Header & Footer
- Password Protected PDF
- Add custom Style Sheet to PDF
- Enable/disable PDF generation for each Content type
- Display/ hide any fields of Content type for PDF
Note: Follow the instructions in the README files carefully
Version 8.x-2.x and onwards created and maintained by : gauravjeet