There’s a pretty cool PHP 5 tool that converts HTML to PDF called dompdf. So what do you need to run this app? Well first you will need to download dompdf from Digital Junkies website. Your server needs to be running PHP 5 with the DOM extension enabled. There is also an option of installing additional fonts. Read the installation documentation to find out how to do this.
The nice thing about this script is it can be used via the command line as well as the web browser. I will probably use this for creating PDFs of my resume on the fly. I would only have to update my database that currently controls the resume and it would update the PDFs accordingly. Hopefully this tool can help some of your. Let me know.