$pdf = new TCPDF('P', 'mm', 'A4', true, 'UTF-8', false); $pdf->SetFooterData(0, 'Page {PAGENO}', 'Title', true, 'Author');
$pdf = new TCPDF('P', 'mm', 'A4', true, 'UTF-8', false); $pdf->SetFooterData('Custom Text', 0, 'Title', true, 'Author');This example sets the footer to display the custom text 'Custom Text'. Package library: TCPDF.