前の記事 «:PHPで書かれたFTPデーモン:nanoFTPd
次の記事 »:中級者向けのPHP本を執筆。PHPによるWebアプリケーションスーパーサンプル 活用編

PHP5でHTMLをPDFに変換するdompdf

2006年05月29日

スポンサード リンク
dompdf - The PHP 5 HTML to PDF Converter

dompdf is an HTML to PDF converter. At its heart, dompdf is (mostly) CSS2.1 compliant HTML layout and rendering engine written in PHP. It is a style-driven renderer: it will download and read external stylesheets, inline style tags, and the style attributes of individual HTML elements. It also supports most presentational HTML attributes.

PHP5でHTMLをPDFに変換するdompdf。
変換元のHTMLは、CSSでデザイン出来ます。

サンプルページのフッタに変換ボックスがあるのでそこでHTMLを入力してPDFへの変換を試すことも可能です。

ためしに変換してみた例)

関連エントリ
HTMLをPDFに変換する:HTML2PDF

スポンサード リンク

投稿者 KJ : 2006年05月29日 15:00 | ブックマークに追加する Subscribe with livedoor Reader
間違いの指摘をしていただける方はメールでお願いします


本を執筆しました。