def handle_pageBegin(self):
     self._footer_printed = False
     SimpleDocTemplate.handle_pageBegin(self)