PHP Classes

Print Form PDF: Creating PDF documents from PDF templates

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (6 months ago) RSS 2.0 feedStarStarStarStar 63%Total: 1,991 All time: 1,974 This week: 68Up
Version License PHP version Categories
print-form-pdf 1.17BSD License5.2XML, PHP 5, Printing, Templates


This class can create PDF documents from PDF templates.

It uses the TCPDF class to create documents from template documents in PDF format on which it inserts data that is populated in certain document fields.

The class suports inserting data in grids, repeating data on the page, bar codes, QR codes, polygons, images, etc..

The processing of the document can be configured using a separate file in XML format.

Innovation Award
PHP Programming Innovation award winner
November 2012

Prize: One downloadable copy of PhpED Professional
PDF is a format that is useful to distribute documents that are meant to be printed.

Generating PDF documents programmatically is often a complex and tedious task.

This class provides a much simpler approach by using previously generated templates and inserting several types of data in marked fields like filling forms.

Manuel Lemos
Picture of Alexander Selifonov
  Performance   Level  
Name: Alexander Selifonov is available for providing paid consulting. Contact Alexander Selifonov .
Classes: 20 packages by
Country: Russian Federation Russian Federation
Age: 61
All time rank: 502 in Russian Federation Russian Federation
Week rank: 284 Down11 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 16x

Winner: 2x


MySQL data table to PDF Excel 2007 and printing
Printing listing results of MySQL queries in A4 or A3 size

  • printform-pdf.gif
  Files folder image Files  
File Role Description
Plain text file printform-pdf.php Class Main program module
Accessible without login Image file logo.png Icon Logo image for business card printing example
Accessible without login Plain text file helpstyles.css Data Styles for help files
Accessible without login HTML file printform-pdf.en.htm Doc. Documentation (english)
Accessible without login HTML file Doc. Documentation (russian)
Accessible without login Plain text file Data Auxiliary data
Accessible without login Plain text file pdf-card.xml Data Configuration file for printing business card (for using example module)
Accessible without login Plain text file pdf-config.xml Data Sample configuration file
Accessible without login Plain text file pdf-create-sample.php Example Using example
Accessible without login Plain text file pdf-template.pdf Data Auxiliary data 136KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Sudoku Download .zip .tar.gz for generating random sudoku puzzles Conditional
 Version Control Reuses Unique User Downloads Download Rankings  
This week:0
All time:1,974
This week:68Up
User Ratings User Comments (1)
 All time
7 years ago (muabshir)