Can a flash app generate a custom PDF?

Hello, is it possible to have some server-side tech create a custom PDF based on variables entered into a flash app on a website?

I have a simple survey built in flash and I want to give users who fill it out the option of receiving a pdf that tells gives them their answers to their questions and an analysis based on those answers.

Thanks!