[reportlab-users] newbie question
MICHAEL A KOLAKOWSKI
mkolakowski at unmc.edu
Mon Jun 6 13:58:23 EDT 2005
I found a simple solution to my problem. I can just set the margins in
the constructor of SimpleDocTemplate to something reasonable. This works
for our demo.
Michael Kolakowski
Computer Programmer
Department of Surgery
University of Nebraska Medical Center
402-559-5726
MICHAEL A KOLAKOWSKI <mkolakowski at unmc.edu>
Sent by: reportlab-users-bounces at reportlab.com
06/06/2005 10:18 AM
Please respond to
Support list for users of Reportlab software
<reportlab-users at reportlab.com>
To
reportlab-users at reportlab.com
cc
Subject
[reportlab-users] newbie question
Hi Folks,
I'm new to using ReportLab. I have a question which I hope will be easy.
I'm changing a program to generate a PDF with the same header and footer
on each page. What is a good way of doing this? The program already uses
SimpleDocTemplate. I thought, perhaps, one could just do this:
doc.build(Story, onFirstPage = myFirstPage, onLaterPages = myFirstPage)
Thus, all the pages should use the same function and be formatted as the
'first' page. However, that results in the later pages overwriting the
header on the first page. You can try this out with the examples.py
program. I hope I have explained myself clearly, thanks for help.
Michael Kolakowski
Computer Programmer
Department of Surgery
University of Nebraska Medical Center
402-559-5726_______________________________________________
reportlab-users mailing list
reportlab-users at reportlab.com
http://two.pairlist.net/mailman/listinfo/reportlab-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://two.pairlist.net/pipermail/reportlab-users/attachments/20050606/cadc8330/attachment.html
More information about the reportlab-users
mailing list