you can create PHP scripting that will create the pdf file for you.
I found this link:
Use-PHP-to-Create-Dynamic-pdf-Files/
through a quick google search:
search?q=php+create+a+pdf+file
Once you have created the PDF file, you can use DFP to download it.