Reportlab

Python 101 – How to Generate a PDF

The Portable Document Format (PDF) is a very popular way to share documents across multiple platforms. The goal of the PDF is to create a document that will look the same on multiple platforms and that will print the same (or very similar) on various printers. The format was originally developed by Adobe but has …

Python 101 – How to Generate a PDF Read More »

ReportLab 101 – Adding Shades of Gray to the Canvas (Video)

In this video tutorial, you will learn about creating different shades of gray with ReportLab’s canvas object: Get my ReportLab book on Leanpub or Amazon. Or check out my other Python books. Related Articles There are lots of other articles on ReportLab on this site. Here are just a few: ReportLab 101 – Using the …

ReportLab 101 – Adding Shades of Gray to the Canvas (Video) Read More »

ReportLab 101 – Using the textobject (Video)

In this video tutorial, you will learn all about using ReportLab’s textobject for manipulating and formatting text on the canvas. If you prefer to learn in a written tutorial, you can check out my this other tutorial of mine, ReportLab 101: The textobject Buy the ReportLab Book You can get an entire book on ReportLab …

ReportLab 101 – Using the textobject (Video) Read More »

Book Contest: ReportLab: PDF Processing with Python

I recently released a new book entitled ReportLab: PDF Processing with Python. In celebration of a successful launch, I have decided to do a little contest. Rules Post a comment telling me why you would want a copy The most clever or heartfelt commenter will be chosen by me The contest will run starting now …

Book Contest: ReportLab: PDF Processing with Python Read More »

ReportLab: PDF Publishing with Python is now Available!

My latest book, ReportLab: PDF Processing with Python is now available for purchase. ReportLab has been around since the year 2000 and has remained the primary package that Python developers use for creating reports in the PDF format. It is an extremely powerful package that works across all the major platforms. This book will also …

ReportLab: PDF Publishing with Python is now Available! Read More »

Creating Interactive PDF Forms in ReportLab with Python

The ReportLab toolkit allows you to create interactive fillable forms. The PDF standard actually has a fairly rich set of interactive elements. ReportLab doesn’t support all of these elements, but it does cover most of them. In this section, we will look at the following widgets: checkbox radio choice listbox textfield All of these widgets …

Creating Interactive PDF Forms in ReportLab with Python Read More »

Adding SVGs to PDFs with Python and ReportLab

ReportLab has native support for generating SVGs, but not for embedding SVGs in their PDFs. Fortunately, Dinu Gherman created the svglib package, a pure-Python package that can read SVG files and convert them to other formats that ReportLab can use. The official website for svglib is on Github. The svglib package will work on Linux, …

Adding SVGs to PDFs with Python and ReportLab Read More »