This project is read-only.

Total number of pages

Jul 13, 2012 at 7:26 PM

Hi, I'm trying to use 

$footer->addPreserveText('Page {PAGE} of {NUMPAGES}.'); to get the total number of pages but it's invalid.

I actually want to set a value for the total number of pages and placed it in my body. 

Any solutions available apart from this documentation given? thanks