Here is a snippet from Zend Developer Zone:
The Zend_Pdf component of the Zend Framework is intended to allow you to create or manipulate PDF documents from within your applications. In addition to its text handling capabilities, it comes complete with drawing features that allow you to create or manipulate graphical primitives. When working with text Zend_Pdf gives you the option of using the built-in fonts or custom TrueType fonts. Its page manipulation capabilities allow you to create new pages, remove existing pages or change the order of pages already in the document. In this tutorial my goal is to give you an overview of the capabilities of Zend_Pdf.
It has details on:
- Creating a new pdf file using Zend_pdf
- Loading/opening an existing pdf file using Zend_pdf
- Adding pages to pdfs
- Saving the pdf document
- Text drawing
- Image drawing
- Coloring drawings
- Using styles
- and Clipping.
It is a very good tutorial. Click here.