page-numbering

Properly add page numbers and total number of pages to PDF using ReportLab

Properly add page numbers and total number of pages to PDF using ReportLab Question: I am trying to create a document that has page numbering of the format “Page x of y”. I have tried the NumberedCanvas approach (http://code.activestate.com/recipes/576832/ and also from the forums https://groups.google.com/forum/#!topic/reportlab-users/9RJWbrgrklI) but that conflicts with my clickable Table of Contents (https://www.reportlab.com/snippets/13/). …

Total answers: 3