This is an archived forum post. The information may be outdated. Contact us if you have any questions.

How to set page number to display "[page #] of [total pages]"

knguyen525 wrote on 2014-09-16:
How do I set the api in order to display "page number of total pages" in the footer?
support wrote on 2014-09-17:

Try this:
$client->setFooterHtml("<span style="font-size:smaller">page %p out of %n</span>");