Create PDF on the Fly
My goal is to create PDF on the fly using PHP. I use php to query the database, the result from the database will be listed in a table, and this view need to be output as a pdf file.
The requirements are 1) it needs to run on sun solaris. 2) need to write dynamic data into pdf right at the point user viewing the data. 3) need to work with PHP.
The best product so far is the PDFLib. (www.pdflib.com). They have PDFLib family, requires license as $1999.00 per machine. But it does very sophisticated things, such as extract text from PDF allows searching, import PDF to edit etc. Easy to use. But the license is too expensive. They do come in free version call PDFLib Lite, however, that require build from source, which needs a lot of C programming skills.
The second one is (http://sourceforge.net/projects/pdf-php). It does many things that generally enough for many users.
DOMPDF also works pretty well and is is free (http://www.digitaljunkies.ca/dompdf/examples.php#demo).