Generate PDF's (Printmaker plugin) with a static header and footer
I've not yet tested specifically with Printmaker (only Laravel + Dompdf), but you should be able to add page numbers by using a special &lt;script&gt; block in the template you use for PDF rendering. This block's PHP instructions will be interpreted by Dompdf as it renders your document, so you can position additional elements like page numbers, headers/footers, etc.

Example of what you'd include in your Twig template:

&lt;script type='text/php'&gt;
if ( isset($pdf) ) {
    $font = $fontMetrics-&gt;get_font('Proxima Nova', 'normal');
    $size = 9;
    $y = $pdf-&gt;get_height() - 32;
    $x = ($pdf-&gt;get_width() / 2) - ($fontMetrics-&gt;get_text_width('1 of 1', $font, $size) / 2);
    $pdf-&gt;page_text($x, $y, '{PAGE_NUM} of {PAGE_COUNT}', $font, $size);
}
&lt;/script&gt;


More on the subject where I first learned about it: https://stackoverflow.com/a/13184208/897279



CRITICAL POINT:

Ensure PHP is enabled in config/printmaker.php...

'isPhpEnabled' =&gt; true,