i am creating a web site having forms. i want to make a print option that generates pdf file.

i have many application forms in hard copy and i am converting them to be filled online. when user fill the form and want to take print, the out put file should be formatted same as the form in hard copy.

can any one help?