html 2 pdf with dompdf

I just finished getting dompdf setup and working to convert html docs from Lotus Domino into usuable pdfs. I did run along a few roadblocks along the way though. First off though, I’d like to say that installing and setting it up was a piece of cake. All it required was putting the files on the php server and changing a few parameters in the config. Then I call the script from a url such as
/dompdf/dompdf.php?input_file=test1.html
where the input file is the html that needs to become a pdf. One snag that held me up for a little while was that I was getting a fatal error like this:
Call to a member function get_cellmap() on a non-object table_cell_frame_reflower.cls.php
This was caused by poorly constructed html and after cleaning up the html a little, it processed the file correctly. It appears to mostly support the CSS 2.1 standard and as long as the formatting of the html is in good shape you should have no problems.

Heres a link to the project so Rich Waters is happy. sourceforge.net/projects/dompdf/

One Response to “html 2 pdf with dompdf”

  1. Rich Waters Says:

    How ’bout a link to this so called dompdf…

Leave a Reply