[reportlab-users] doc.topMargin in SimpleDocTemplate

Michael Hipp michael at redmule.com
Sat Nov 12 11:38:19 EST 2011


On 10/12/2011 11:33 AM, Michael Hipp wrote:

> I'm building a simple report like this:

> doc = SimpleDocTemplate(out, ...)

> doc.topMargin = 1.0*inch # space for header on 1st page

>

> I'd like to change that topMargin to 0.0 in my onLaterPages() routine, but it

> seems fixed once set. Is it possible to alter it once building has started?


Replying to my own question...

Can anyone assist with this? I need to change the top margin on later pages and
not print the header.

Thanks,
Michael


More information about the reportlab-users mailing list