code: def print_page_cb(self, print_op, print_context, page_nb, keep_refs={}):
          
          page = ImgPage(self, page_nb)
          page.print_page_cb(print_op, print_context, keep_refs=keep_refs)
docs: Called for printing operation by Gtk