Features
- handles most CSS 2.1 and a few CSS3 properties, including @import, @media & @page rules
 - supports most presentational HTML 4.0 attributes
 - supports external stylesheets, either local or through http/ftp (via fopen-wrappers)
 - supports complex tables, including row & column spans, separate & collapsed border models, individual cell styling
 - image support (gif, png (8, 24 and 32 bit with alpha channel), bmp & jpeg)
 - no dependencies on external PDF libraries, thanks to the R&OS PDF class
 - inline PHP support
 
<?php
require_once("dompdf_config.inc.php");
$html =
    '<html><body>'.
    '<p>Hello World!</p>'.
    '</body></html>';
$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->render();
$dompdf->stream("hello_world.pdf");
?>
Click For Demo Click For Download

No comments:
Post a Comment
Thanks....