How to generate a read-only PDF document from database data.
Posted on 2005-02-24
I have information in a database that I want to use to dynamically generate a read-only PDF document that s user can then print out.
I've tried to find information on how to accomplish this in a simple manner but all the postings I've seen refer to submitting entered data from the PDF document itself.
I'm assuming I need to create a PDF template somehow, in the process putting in place holders for the dynamic data. I'm then hoping that I can generate an FDF file from this template. Once I have these 2 items I guess it should be relatively straightforward for me to modify the FDF on the fly with data from the database and then marry that with the PDF template to give the user what they want.
Am I on the right lines and if so which tools do I use to accomplish the above? Or is there a better solution to what I am trying to achieve?
thanks in anticipation