[reportlab-users] Add page break to Canvas object.

Chris Jerdonek chris.jerdonek at gmail.com
Sat Aug 28 22:19:22 EDT 2010



> Date: Sat, 28 Aug 2010 18:44:44 -0700

> From: Juan Efren Castillo <juanefren at gmail.com>

>

> I need to generate a 2 pages pdf report.

> ...

> How should I add a page break to this Canvas instance ?


I'm new to reportlab, but page 11 of the User Guide suggests that
Canvas's showPage method will work:

"The showPage method causes the canvas to stop drawing on the current
page and any further operations will draw on a subsequent page (if
there are any further operations -- if not no new page is created)."

( http://www.reportlab.com/docs/reportlab-userguide.pdf )

--Chris


More information about the reportlab-users mailing list