'add page info to each page (page x of y)'

def save(self):

    for state in self._saved_page_states:
        self.__dict__.update(state)
        self.draw_page_number()
        canvas.Canvas.showPage(self)
    canvas.Canvas.save(self)
