View Full Version : Outputing a form to a document image or acrobat type

02-01-2007, 08:55 PM
Hello all, I'm still new at php, but wanted to know if this is possible to do in php, or does it need a 3rd party software.

I have a actual paper form for people to apply for a Bowling league, but I want to make a web form, and upon entering the info in all the fields, the user clicks submit, which takes it to the next page of an image of the actual form, with all the fields populated with the data entered. Of course, that data would also be stored into a database.

(e.g. the user entered name, address, phone, etc. the output result is an actual image of the paper application form (scanned jpg or tif, etc), but all the areas are populated with the data of name, address, phone, etc.). The user can then print this form, and avoid using a pen to write in all the data.

Is this possible / hard to do with php, or do I need a 3rd party software? Any help / direction would be greatly appreciated.



02-01-2007, 09:14 PM
You can do this using the GD image library functions to place the text on specific areas of the image. But, why not just accept a print out of a web page with the data displayed on it instead of needing something that looks like it is a scan of the current paper form?

02-02-2007, 04:03 PM
hye.. regarding this... if we print the report via the browser, the address of that page will be displayed on the printed pages right? how to print out that like we print using 3rd party softwares? e.g pdf .