I have followed all steps given on Page break in Html2Pdf but getting following error. 2nd page is starting from.
The OpenEMR Documentation Wiki. I have a problem with creating a page break in a loop using html2pdf v4. How can I say Html2Pdf to repeat the table head after each page break? You can insert page breaks before after a HTML element in the generated PDF document by setting the ' page- break- before : always' ' page- break- after : always.