Can i output the data entered in a form as a pdf document?

Can i output the data entered in a form as a pdf document?

Hi,

I was wondering if it is possible to create a PDF using the data a user inputs. This is how i want it to work:

1. User enters his friend's name and e-mail id in a form.
2. The form creates a PDF and sends it to the friend's e-mail id. The PDF has a design template, and the script only needs to insert the name and mail to the friend.

Help!

Thanks

Srikanth Nishtala