code: def set_auto_page_break(self, auto,margin=0):
          "Set auto page break mode and triggering margin"
          self.auto_page_break=auto
          self.b_margin=margin
          self.page_break_trigger=self.h-margif set_auto_page_break(self, auto,margin=0):
          "Set auto page break mode and triggering margin"
          self.auto_page_break=auto
          self.b_margin=margin
          self.page_break_trigger=self.h-margin
docs: Set auto page break mode and triggering margin