[reportlab-users] Re:Report Lab Getting Started

toshi-O reportlab-users@reportlab.com
Mon, 25 Aug 2003 13:26:18 +0900


I'm beginner in ReportLab too.
Try this.

from reportlab.pdfgen import canvas
def hello(c):
    c.drawString(100,100,"Hello World")
c = canvas.Canvas("hello.pdf")
hello(c)
c.showPage() #page1 end
hello(c)
c.showPage() #page2 end
c.save()

See serguide.pdf Page10 and Page14.

Toshio Onishi