self._startPage()

def save(self):
    """add page info to each page (page x of y)"""
num_pages = len(self._saved_page_states)
for state in self._saved_page_states:
    self.__dict__.update(state)
self.draw_page_number(num_pages)
canvas.Canvas.showPage(self)
canvas.Canvas.save(self)

def draw_page_number(self, page_count):
    self.setFont('Helvetica', 7)
self.drawRightString(200 * mm, 20 * mm, 'Page %d of %d' % (self._pageNumber,
    page_count))
Reportlab page x of y NumberedCanvas and Images