<page backtop="10mm" backbottom="10mm" backleft="0mm" backright="0mm">
    <page_header>
        <table style="width: 100%; border: solid 1px black;">
            <tr>
                <td style="text-align: left;    width: 33%">html2pdf</td>
                <td style="text-align: center;    width: 34%">Test d'header</td>
                <td style="text-align: right;    width: 33%"><?php echo date('d/m/Y'); ?></td>
            </tr>
        </table>
    </page_header>
    <page_footer>
        <table style="width: 100%; border: solid 1px black;">
            <tr>
                <td style="text-align: left;    width: 50%">html2pdf.fr</td>
                <td style="text-align: right;    width: 50%">page [[page_cu]]/[[page_nb]]</td>
            </tr>
        </table>
    </page_footer>
    <table style="width: 1600px;border: solid 1px #5544DD; border-collapse: collapse" align="center">
        <thead>
            <tr>
                <th style="width: 30px; text-align: left; border: solid 1px #337722; background: #CCFFCC">No</th>
                <th style="width: 50px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Kode</th>
                <th style="width: 200px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Nama</th>
                <th style="text-align: left; border: solid 1px #337722; background: #CCFFCC">Alamat</th>
                <th style="width: 100px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Telp</th>
                <th style="width: 100px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Telp</th>
                <th style="width: 100px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Telp</th>
                <th style="width: 100px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Telp</th>
                <th style="width: 100px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Telp</th>
                <th style="width: 100px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Telp</th>
                <th style="width: 100px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Telp</th>
                <th style="width: 100px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Telp</th>
                <th style="width: 100px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Telp</th>
                <th style="width: 100px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Telp</th>
                <th style="width: 100px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Telp</th>
                <th style="width: 100px; text-align: left; border: solid 1px #337722; background: #CCFFCC">Telp</th>
            </tr>
        </thead>
        <tbody>
<?php
    for ($k=1; $k<200; $k++) {
?>
            <tr>
                <td style="text-align: left; border: solid 1px #55DD44"><?php echo $k ?></td>
                <td style="text-align: left; border: solid 1px #55DD44">00.<?php echo $k ?></td>
                <td style="text-align: left; border: solid 1px #55DD44">Apank</td>
                <td style="text-align: left; border: solid 1px #55DD44">Jl.dipoengoro</td>
                <td style="text-align: left; border: solid 1px #55DD44">08122</td>
                <td style="text-align: left; border: solid 1px #55DD44">08122</td>
                <td style="text-align: left; border: solid 1px #55DD44">08122</td>
            </tr>
<?php
    }
?>
        </tbody>
        <tfoot>
            <tr>
                <th colspan="4" style="text-align: left; border: solid 1px #337722; background: #CCFFCC">Footer 1</th>
                <th style="text-align: left; border: solid 1px #337722; background: #CCFFCC">Footer 2</th>
            </tr>
        </tfoot>
    </table>
    <br>
</page>
