Skip to content
Advertisement

mPDF how to leave all content on a single page

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?

Advertisement

Answer

“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

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement