[reportlab-users] PageTemplate's onPageEnd
Nicholas Wieland
nicholas_wieland at yahoo.it
Thu Aug 4 11:09:00 EDT 2005
Hi *,
I'm trying to draw a footer on my pages, and want to implement it with the onPageEnd function of PageTemplates.
def pageFooter (canvas, document):
canvas.drawString (10, 10, '2')
and
pb_page = PageTemplate (frames = [pb_header_frame, p_table_frame], onPageEnd=pageFooter)
Unfortunately, nothing happens.
I've also tryed document.canv.drawString, but the result is the same.
I don't really know what problem I'm having, so I'd really appreciate a little help from more experienced Reportlab users, or an example of the usage of onPageEnd.
TIA,
ngw
---------------------------------
Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://two.pairlist.net/pipermail/reportlab-users/attachments/20050804/95fd6b7a/attachment.html
More information about the reportlab-users
mailing list