diff --git a/tcpdf_demo b/tcpdf_demo index 01f2dfc..7713362 100755 --- a/tcpdf_demo +++ b/tcpdf_demo @@ -18,6 +18,7 @@ - http://www.fpdf.org/en/doc/index.php - http://www.fpdf.org/en/tutorial/index.php - http://www.fpdf.org/en/tutorial/tuto6.htm (Links and flowing text) + - http://www.tcpdf.org/doc/code/classTCPDF-members.html This script also requires FPDI to load PDF documents into memory - https://www.setasign.com/products/fpdi/about/ @@ -38,6 +39,9 @@ date_default_timezone_set("America/Los_Angeles"); //$pdf = new TCPDF('p', 'mm', 'Letter', TRUE, 'UTF-8'); class_exists('TCPDF', true); $pdf = new FPDI('p', 'mm', 'Letter', TRUE, 'UTF-8'); +// disable headers and footers on all pages +$pdf->setPrintHeader(FALSE); +$pdf->setPrintFooter(FALSE); // write out the contents of the first page $pdf->AddPage();