I use dompdf
class and I need page numembering for every page
I did this and it works:
$dompdf = new Dompdf();
$dompdf->load_html($html);
$dompdf->render();
$canvas = $dompdf->get_canvas();
$font = $dompdf->getFontMetrics()->get_font("helvetica", "bold");
$canvas->page_text(72, 18, "Header: {PAGE_NUM}", $font, 6, array(0,0,0));
What I need is just skip first page and start numbering from second page.
How can I do this?
$font = $dompdf->getFontMetrics()->get_font("helvetica", "24");
but this not works – Abettor