generete_pdf_order.php HELP

12.03.2014 18:03
#1
jacobsen
Joomshopping forum user no avatar
Name: john
15.02.2011
Posts: 288
Quote
generete_pdf_order.php HELP

Hi

Can somebody help me with page numbering on the pdf_order?
I have try to make this but i doesn't work:

private $pageNum = 1; //start my pagenum at 1
/ The footer function /
public function Footer() {
// Position at 20 mm from bottom
$this->SetY(-20);
$this->SetX(-5);
// Set font
//$this->SetFont('helvetica', 'I', 8);
// Page number
$this->pageNum; //obtain pageNum from global variable above.
$this->Cell(0, 10, $pageNum, 0, false, 'C', 0, '', 0, false, 'T', 'M');
//output the number
$pageNum++; //increment my page number by 1
}

I will like to have the page numbering like this: 1:4

I hope somebody can help me.

Kind regards
Jacobsen

 
Copyrights MAXXmarketing GmbH. All Rights Reserved