Search code examples
phphtmlpdfcss-tables

Looking for a HTML to PDF builder with CSS and large table support for a PHP based Webinterface


We want to save a dynamically generated html page (which consists of a large CSS styled table, which would probably cover more than one page) into a pdf.

We tried the following classes and tools (fpdf,html2p,dompdf) - but nothing worked. It has to run on Windows.

Any other tools with references to a doku or examples would be very appreciated!


Solution

  • Another thing you might try is phantomjs. I've used it myself for the same purpose, although the output in PDF varies as its still under development.

    PNG support is fantastic though.