Hacking with PHP is being updated for PHP 7: pre-order for only $10! >>

Creating PDF documents

Adobe make a collection of commercial products to the do business, but they invariably come with a hefty price tag and generally are restricted to Windows and Macintosh platforms. Luckily, once again, PHP comes to the rescue!

Before you begin, note that measurements are in points, and there are 72 points to an inch. However, this can be altered by changing the output resolution of the produced PDF.


If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!

Next chapter: There's more than one way to do it >>

Previous chapter: Working with RTF

Jump to:


Home: Table of Contents

Copyright ©2015 Paul Hudson. Follow me: @twostraws.