[reportlab-users] reportlab basic problem
Tim Smith
reportlab-users@reportlab.com
Fri, 17 Sep 2004 20:47:30 +1000
On Thu, 16 Sep 2004 05:39 pm, Robin Becker wrote:
thanks it all works great! i am making pdf's and putting content on them no=
=20
sweat, BUT now i have tried to run my code on freebsd 4.10 and i get no=20
pdf`s! no errors either, it's strange
> from reportlab.pdfgen import canvas
> def hello(c):
> =A0=A0=A0=A0=A0=A0=A0=A0c.drawString(100,100, "Hello World")
> c =3D canvas.Canvas(r"c:\hello.pdf")
> hello(c) #call the hello function
> c.showPage()
> c.save()