Home > Mobile >  mPDF how to leave all content on a single page
mPDF how to leave all content on a single page

Time:11-18

I want to export an HTML to pdf using mPDF, but I want everything to be on a single page, without any page breaks. How can I do that?

CodePudding user response:

"mPDF has limited scope to control when automatic page-breaks occur, and does not have ‘widows’ or ‘orphans’ protection."

https://mpdf.github.io/paging/page-breaks.html

  • Related