Test to simply generate a PDF
This commit is contained in:
parent
425f0afd63
commit
fbee1cff1f
|
|
@ -0,0 +1,7 @@
|
||||||
|
from reportlab.pdfgen import canvas
|
||||||
|
def hello(c):
|
||||||
|
c.drawString(100,100,"Hello World")
|
||||||
|
c = canvas.Canvas("hello.pdf")
|
||||||
|
hello(c)
|
||||||
|
c.showPage()
|
||||||
|
c.save()
|
||||||
Loading…
Reference in New Issue