[reportlab-users] Re: PageTemplate's onPageEnd

Nicholas Wieland nicholas_wieland at yahoo.it
Thu Aug 4 11:38:10 EDT 2005


 
pb_page = PageTemplate (frames = [pb_header_frame, p_table_frame], onPageEnd=pageFooter)
 
 
Sorry :)


Nicholas Wieland <nicholas_wieland at yahoo.it> ha scritto: 
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

		
---------------------------------
Yahoo! Messenger: chiamate gratuite in tutto il mondo 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://two.pairlist.net/pipermail/reportlab-users/attachments/20050804/3938c5d6/attachment.html


More information about the reportlab-users mailing list