PDFHack - minimal PDF creator

PDFHack tries to be the absolutely minimal solution to create simple PDFs. The only supported feature is multiple page text output, but on the other hand PDFHack is free (LGPL), there is nothing to install or compile, you just include a single PHP file. If you need a more complete solution, try a commercial package such as PDFLib.

Usage example 1

example.php

Usage example 2

example2.php

In this example two pages are created. This is accomplished by providing a page number after the font size. Evil undefined things will happen if you do not use consequtive page numbering.

Get the include file

PDFHack.inc

Bemmu Sepponen