How to populate a PDF form such as a w-2 from data inside of the the database?

i have a w-2 form and other pdf documents and using adobe acrobat pro i have created fields with field names using the adobe application. how do i populate those fields? i have done this a few years ago where the php would generate the fdf file then load the pdf file and populate it but i completly forgot how i did it. any help would be great. thanks

Answers


The following links might help you get started. You only need to supply the data from a database rather than HTML forms:


Google found me this:

http://www.codeproject.com/KB/cs/FillFormFieldsOfPDFs.aspx

PDF (W-4) filled in with above tool

Does it fit your needs? (C#)


Need Your Help

JavaScript window.open Correct Size for all browsers

javascript cross-browser window

So, basically, I've got a search results screen with an "Open" button for each result. Clicking that button should open a new window with a streamed database BLOB displayed.

One database per user

php mysql database sqlite codeigniter

I am developing a php application using CodeIgniter. I am planning to split the single MySQL database to multiple sqlite databases. That is, one database(MySQL/PostgreSQL/SQLite) that handles