generete_pdf_order.php HELP

12.03.2014 18:03
Joomshopping forum user no avatar
Name: john
Posts: 339
generete_pdf_order.php HELP


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
// 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

Copyrights MAXXmarketing GmbH. All Rights Reserved
Deutsch (DE-CH-AT)English (United Kingdom)