Reportlab

ReportLab 101: The textobject

The ReportLab toolkit provides multiple ways for you to generate text on your PDFs. The most popular examples that I have seen are using canvas methods or using PLATYPUS. The canvas method that you will likely see the most is drawString. Here is an example: from reportlab.pdfgen import canvas c = canvas.Canvas(“hello.pdf”) c.drawString(100, 100, “Welcome

ReportLab 101: The textobject Read More »

ANN: ReportLab PDF Processing with Python Kickstarter

Have you ever wondered how to create PDF Reports programmatically? If so, then this is the book for you! In ReportLab: PDF Processing with Python, you will learn how to generate PDFs using the popular Python programming language. The code in this book will run on all 3 major platforms: Windows Mac Linux ReportLab is used

ANN: ReportLab PDF Processing with Python Kickstarter Read More »

Reportlab – How to Create Barcodes in Your PDFs with Python

The Reportlab library is a great way to generate PDFs in Python. Recently, I noticed that it has the ability to do barcodes. I had heard about it being able to generate QR codes, but I hadn’t really dug under the covers to see what else it could do. In this tutorial, we’ll take a

Reportlab – How to Create Barcodes in Your PDFs with Python Read More »

Reportlab: Converting Hundreds of Images Into PDFs

I was recently asked to convert a few hundred images into PDF pages. A friend of mine draws comics and my brother wanted to be able to read them on a tablet. Alas, if you had a bunch of files named something like this: ‘Jia_01.Jpg’, ‘Jia_02.Jpg’, ‘Jia_09.Jpg’, ‘Jia_10.Jpg’, ‘Jia_11.Jpg’, ‘Jia_101.Jpg’ the Android tablet would reorder

Reportlab: Converting Hundreds of Images Into PDFs Read More »