Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

PDF using mPDF

Security covered Under active development 1,009 sites

Part of the PDF ecosystem · 19 projects

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

Drupal 10–11

Ask your assistant about PDF using mPDF

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

  • file Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
Aug 2024
Latest release
1 month ago
Releases (12 mo)
1 ▼ from 8
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.1 Stable 10–11 Sep 6, 2026
3.0.0 Stable 10–11 Jul 14, 2025
3.0.0-rc1 Pre-release 10–11 Jul 8, 2025
3.0.0-beta2 Pre-release 10–11 Jul 3, 2025
3.0.0-beta1 Pre-release 10–11 Jul 1, 2025
3.0.0-alpha4 Pre-release 10–11 Jun 26, 2025
3.0.0-alpha3 Pre-release 10–11 Jun 23, 2025
3.0.0-alpha2 Pre-release 10–11 Jun 21, 2025
3.0.0-alpha1 Pre-release 10–11 Jun 19, 2025
3.x-dev Dev 10–11 Aug 29, 2024