Display footer at the last page only

The workaround involves disabling footer printing in /app/code/community/Fooman/PdfCustomiser/Model/Mypdf.php

Please add

$this->setPrintFooter(false);

after

$this->setPrintFooter($printNumbers || $helper->hasFooter());

if ($helper->getPdfIntegratedLabels()) {
//uncomment next line to suppress the footers when using integrated labels
//$this->setPrintFooter(false);
}

Additionally, in /app/code/community/Fooman/PdfCustomiser/Model/Order.php and in other pdf types, please add 

$pdf->setPrintFooter(true); before $pdf->endPage();

to specifically display the footer at the last page.

Still need help? Contact Us Contact Us