Converting HTML to PDF via PHP

[email protected] (Michael Calkins)
Newsgroups php.general
Message-ID <[email protected]>
I have found various online tools that do this but nothing that has documented it as a tutorial so I can understand it.  I found the html_to_pdf.inc.php script that is entirely undocumented so I am not sure how to use it exactly. 
I am trying to export generated HTML (an invoice for a customer) to a saveable PDF that is downloaded.  Any ideas?

From,Michael [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.