Prueba con el método [`TCPDF::SetAutoPageBreak`](https://tcpdf.org/docs/source_docs/classTCPDF/#a4430365ea0b9015b4aefedad1ba77ea9): > TCPDF::SetAutoPageBreak ( > $auto, > $margin = 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.