tags:

views:

85

answers:

5

i have this letter where in some parts will be filled-up by the user. like this:

I am <input name="age" type="text"> years old.

is it possible to save the letter into a .pdf file?

A: 

This post suggests using Prince XML.

Mark P Neyer
A: 

You can find an article that describes the process here.

Vincent Ramdhanie
+1  A: 

Take a look at Zend_Pdf from the Zend_Framework. The good thing about Zend_Framework is that you can add just the parts of it you need. The modules seldom have dependency on each other.

PatrikAkerstrand
+1  A: 

I suggest FPDF

FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.
Thinker
We're using FPDF within our group.
Adam Backstrom