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

Filling PDF form on Server Side

pviral
Registered: Sep 12 2010
Posts: 2

Hello All,

I am working on a project and am stuck at point.

I get the user data from (x.pdf) form to database using HTTP Submit button.
Now on server side, I want to achieve following things:
1. Open x.pdf form on server (the template for x.pdf will reside in server directory)
2. Open database connection and get user information from database
3. Insert the user data (fname, lname, id, etc) from database to x.pdf form fields (fname, lname, id, etc)

I want to achieve this using web services or coding. I don;t want to use DNS to fetch data from database to insert into PDF form. As it will restrict me to use windows server on server side.

I have tried following solutions:
1. itext (I am still looking into it to get data from database and fill in particular field. with itext you can get values from DB and generate regular PDF file.
2. html2pdf
3. pdflk

If anyone can provide with example it would really nice as I am not able to achieve it with the above mention and other solutions
I would be really appreciate if can get help.

Thanks

Viral

My Product Information:
LiveCycle Designer, Windows
UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
Working with PDF forms on a server is a job for Adobe LiveCycle. Acrobat cannot do it (technically and legally) and the open-source libraries for handling PDFs directly in php/asp etc have very poor support for forms, if any at all.

You also need LiveCycle to apply Reader extensions or work with dynamic XML-based form objects.
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
If you're using Acrobat forms (not XFA), consider FDF Merge: http://www.appligent.com/fdfmerge
NK-INC.COM
Registered: Apr 17 2010
Posts: 93
Also try, FDFToolkit.net:

http://www.fdftoolkit.net/

Works on Microsoft .net 1.1, 2.0, 3.0, 3.5, 4.0.
Works with ASP.net, and Standalone Apps
Works with Adobe Acrobat and LiveCycle Static Forms
Merges, Parses, Saves, and Emails PDFs


Demos and Tutorials:
http://www.nk-inc.com

Hope this information helps...

Uses iText# Technologies