Go to the source code of this file.
Variables | |
| $htmlFile = dirname(__FILE__) . '/test.html' | |
| $defaultDomain = 'www.rustyparts.com' | |
| $pdfFile = dirname(__FILE__) . '/timecard.pdf' | |
| $pdf = & new HTML_ToPDF($htmlFile, $defaultDomain, $pdfFile) | |
| $result = $pdf->convert() | |
|
|
Definition at line 23 of file example1.php. |
|
|
The simplest example. We convert an HTML file into a PDF file. We also add a few custom headers/footers to the PDF. Definition at line 19 of file example1.php. |
|
|
Definition at line 30 of file example1.php. |
|
|
Definition at line 25 of file example1.php. |
|
|
Definition at line 35 of file example1.php. |
1.4.3-20050530