Render footer content based on page number
-
It is possible to have access to a properties like
currentPageNumber
or something like that into a chrome pdf footer ?
-
No. The chrome doesn't evaluate javascript in the header.
https://github.com/GoogleChrome/puppeteer/issues/2167Try using pdf utils and merge the dynamic header instead.