fpdf.accept_page_break()
Whenever a page break condition is met, the method is called, and the break is issued or not depending on the returned value. The default implementation returns a value according to the mode selected by SetAutoPageBreak. This method is called automatically and should not be called directly by the application.