SetTopMargin(0); $tcpdf->SetAuthor("CMC Technologies"); $tcpdf->SetAutoPageBreak( false ); $tcpdf->setHeaderFont(array($textfont,'',40)); $tcpdf->xheadercolor = array(150,0,0); $tcpdf->xheadertext = 'CMC TECHNOLOGIES'; $tcpdf->xfootertext = 'Copyright © %d CMC Technologies. All rights reserved.'; $tcpdf->Header(); // Now you position and print your page content // example: $tcpdf->SetTextColor(0, 0, 0); $tcpdf->SetFont($textfont,'B',20); $tcpdf->Cell(0,14, "Hello World", 0,1,'L'); // ... // etc. // see the TCPDF examples echo $tcpdf->Output('/var/www/quotenik1.2/app/webroot/pdf/filename1.pdf', 'F'); ?>