If you were to do a search on Daniweb, you would find lots of previous posts on this topic. I have suggested
HTML2PDF before so I will do it again. If you already have formatted output using well-written HTML (e.g. with closing tags), then this utility can use that to create a PDF. You don't need any special PDF commands (even though it does have a few that you can use). I find this a lot easier than having to specifically code something to construct a PDF.
Reputation Points: 210
Solved Threads: 228
Nearly a Posting Virtuoso
Offline 1,389 posts
since Sep 2008