fpdf.set_auto_page_break(auto; bool, margin = 0.0)
Enables or disables the automatic page breaking mode. When enabling, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is on and the margin is 2 cm.
auto:
Boolean indicating if mode should be on or off.
margin:
Distance from the bottom of the page.