[reportlab-users] print "page <Page> of <PageCount> pages"

Matej Pivoluska reportlab-users@reportlab.com
Sun, 4 Jan 2004 15:31:29 +0100


On Sat, Jan 03, 2004 at 11:49:07PM +0100, Luc Saffre wrote:
> I am trying to ge a footer
>   "page <Page> of <PageCount> pages"
> on each page.
> 
> A platypus Document has a "page" attribute, but is there a way to find 
> out the total number of pages of the document being generated?  I did 
> not see any hint about this in the documentation nor the source code.

At first run you can get the number of pages and at second run you can
use it. 


mP