These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Combine data to PDF form on Server Side

pauljram
Registered: Dec 24 2007
Posts: 2
Answered

I have created a pdf form (Acrobat 8) and put it on my server (unix/linux). I want to combine data from the database on my server to populate the pdf form on the server side. The pre-poluated form will then be viewable from the web. Is this possible using a CGI script or do I need a third party software to combine this information?

My Product Information:
LiveCycle Designer, Unix/Linux
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
There are several ways to go with prepopulating a form. There are many 3rd party programs out there for doing this, [url=http://www.activePDF.com]www.activePDF.com[/url] and [url=http://www.appligent.com]www.appligent.com[/url] havetwo of the best solutions. There are many, many others as well.

However, the easiest way to do it is to create an FDF, or other type of PDF data file on the server that contains all the prepopulation data, then point the user's browser to this file. Because the data file type is well known, the browser will pass the URL to Acrobat which will download both the data file, and the PDF Form referenced by the data file and merge the two on the client side.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script