Generate a new pdf file

Hello you,
can you advise me about how put images and text to a new pdf file by flex?
I think I should use an opensource to put images and text to pdf file but I don’t still find it. Do you have a new idea? please help me