spipu / html2pdf

OFFICIAL PROJECT | HTML to PDF converter written in PHP
http://html2pdf.fr/en/default
Open Software License 3.0
1.68k stars 750 forks source link

Problem of generating a large number of pdf #453

Open Meli2017 opened 5 years ago

Meli2017 commented 5 years ago

Hi. I have a problem when I generate a pdf number greater than 80 pages with html2pdf. At this limit, a blank page appears. But when I reduce the number of data to print, all is displayed. How to increase the number of default pages to generate. Thank you

LittleBigFox commented 5 years ago

Hi! Try to change the header/footer padding of the PDF. Have you a DIV around your html? Html2PDf have some problems with nested DIV.

Regards, LBF