Is there a simple way to convert an HTML file into a PDF Document? It seems that there should be a function like the following:
$pdf_handle = fopen("filename", "w");
html_to_pdf($pdf_handle, $html);
The pdf file would be generated from the $html passed to it.
Any suggestions?
Thanks in advance.