This project is not covered by Drupal’s security advisory policy.


TCPDF is a powerful library to generate PDF with PHP. It supports UTF-8, and is capable to convert HTML snippets to PDF.

TCPDF module offers a simple way to create PDF documents with Drupal and TCPDF. Currently the module aims module developers, who need to create pdf documents with php, but there are also plans for some kind of UI.

Drupal 7 and usage

For a basic tutorial check out my blogpost or try the example module.

Drupal 8

In the Drupal 8 version we left the Libraries module behind and we started to use Composer. This means that we changed the way how downloading and loading the TCPDF library is handled. You can find more details about the installation process and the changes in this blogpost.

Project Information