Commit c3e38f79064db447bc94a893ad2b63d9a7caf3ef
1 parent
840f46a604
Exists in
master
tcpdf_demo: disable headers/footers; added link to TCPDF Packagist page
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
tcpdf_demo
View file @
c3e38f7
... | ... | @@ -18,6 +18,7 @@ |
18 | 18 | - http://www.fpdf.org/en/doc/index.php |
19 | 19 | - http://www.fpdf.org/en/tutorial/index.php |
20 | 20 | - http://www.fpdf.org/en/tutorial/tuto6.htm (Links and flowing text) |
21 | + - http://www.tcpdf.org/doc/code/classTCPDF-members.html | |
21 | 22 | |
22 | 23 | This script also requires FPDI to load PDF documents into memory |
23 | 24 | - https://www.setasign.com/products/fpdi/about/ |
... | ... | @@ -38,6 +39,9 @@ |
38 | 39 | //$pdf = new TCPDF('p', 'mm', 'Letter', TRUE, 'UTF-8'); |
39 | 40 | class_exists('TCPDF', true); |
40 | 41 | $pdf = new FPDI('p', 'mm', 'Letter', TRUE, 'UTF-8'); |
42 | +// disable headers and footers on all pages | |
43 | +$pdf->setPrintHeader(FALSE); | |
44 | +$pdf->setPrintFooter(FALSE); | |
41 | 45 | |
42 | 46 | // write out the contents of the first page |
43 | 47 | $pdf->AddPage(); |