[reportlab-users] forms
Martin Weissenboeck
mweissen at gmail.com
Wed Aug 18 12:33:29 EDT 2010
Hi,
I have tried to define a form using canvas.beginForm. I want to use this
form twice on one page.
But I could only define absolute coordinates. These two forms have been
printed one upon the other and not one below the other.
This is the main part of my program:
def form(canvas):
canvas.beginForm("Form")
t=canvas.beginText(120,320)
t.textLine("abc")
canvas.drawText(t)
canvas.endForm()
c=canvas.Canvas("test4.pdf")
form(c)
c.drawString(120,300,"start")
c.doForm("Form")
c.doForm("Form")
c.drawString(120,420,'end')
c.showPage()
c.save()
--
With kind regards
Martin Weissenböck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20100818/e8dd8151/attachment.html>
More information about the reportlab-users
mailing list