Html2pdf add content to footer on each page

I have a table 5-10 in pdf format in which I show all the records in this table, and each of them has about 1000-2000 records. I am trying to use the code below to create a footer on each page, but instead display it after the table is completed. My template looks below

   <page backtop="0" backbottom="30mm" footer="page" style="font-size: 9pt">
    <table>
        <Records>
    </table>
    <page_footer>
            <table class="page_footer" style="width: 100%;">
                <tr>
                    <td style="width: 80%; text-align:center">
                        <p style='font-size: 6pt;color:red;'>
                           ...Content...
                        </p>
                    </td>
                </tr>
            </table>
    </page_footer>
+4
source share
1 answer

You can add a custom header and footer using a mixture of tcPDFand wkhtml2pdf. The following is an example of html2pdf / tcpdf / example . Here is another example html2fpdf / discussion / stream

0
source

Source: https://habr.com/ru/post/1618126/


All Articles