Jan-17-2017, 06:57 PM
(Jan-16-2017, 06:10 AM)micseydel Wrote: Can you provide a runnable snippet of code that reproduces the failure, and elaborate on "it fails"?
Yes of course:
from reportlab.pdfgen import canvas import os c = canvas.Canvas("services_current_all.pdf") output = "Serial number: " + "<br />" output += "Model: " + "<br />" output += "Other data: " + "<br />" c.drawString(100, 650,output) c.save() os.system('services_current_all.pdf')