My old method of filling a PDF myself was placing "#Box1#", etc... in each field and replacing it with preg_replace, one at a time... That worked for smaller documents, around 20 fields, but it took to long and required me to cache it... Now im doing a forum with 200 fields, which would take nearly forever to do... And the document itself cant be cached because of its purpose, unlike the other document... To top it off my method doesn’t work for check boxes, and I’m using check boxes.... So now I’m looking for a server side app that does this... Before I tried FDF files (form filler files), but it depends on the clients adobe reader to fill the fields, and it doesn’t work when the PDF is on the web server (has to be on clients machine)....
So far ive found:
FDFMerge - $1k, works for Linux servers. Uses FDF files, which you have to generate.
activePDF Toolkit - I think it does the same thing as FDFMerge, or like the one below, but doesn’t work for Linux servers (windows only) and costs nearly $800-$900
"PDF Form Filling and Flattening Tool" from pdf-tools.com - So far the best. You can specify the fields command line, or provide a "control file" which is a simple field=value ASCII concept. Windows version costs $360 (good price) and Linux version costs...$720
If the last one was $360 for Linux too, instead of nearly double, I would have gone for it... ultimately its not my decision to make, and I need to find a solution just as good, and at a cheaper price. I’m not sure if I'll find any, but I'm running out of time....
