Advertising sustains the DA. Ads are hidden for members. Join today

Introduction

Last updated on
25 May 2018

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

FillPDF provides an interface for filling PDF forms with data. Through the magic of the Token module, it is possible to indicate which fields on your website represent which FillPDF fields. When a user goes to a special link on your site, the module does its job, and the PDF is provided as a downloadable file or saved on the server.

FillPDF can be used with data from nodes or Webform submissions. This allows creating a workflow in which a user entered data into an HTML form, submits the form, then downloads a PDF filled with the data they entered. This is the same sort of workflow as you made have seen in online tax preparation software such as TurboTax and FAFSA.

Why not just generate a PDF?

If you have tried generating PDFs in PHP before, you may already know what I'm going to say. If not, read on.

In many situations, a PDF template is provided by an agency, and its format is strict. This is common in government, law, commercial real estate, the mortgage industry, finances, and other industries. FillPDF is an excellent option if you are in such a situation. This is because it is often difficult to get a generated PDF to look the same as is desired.

If you do want to generate a PDF from scratch, check out Printer, e-mail, and PDF versions's PDF generation module, which uses one of several PDF generation tools to print a page as it looks in its printer-friendly view.

Help improve this page

Page status: No known problems

You can: