node-html-pdf
node-html-pdf copied to clipboard
Dynamic header and footer height
I am having a trouble with repeating dynamic header and footer on every page. Header and footer content gets overlapped by body content. My header and footer height is not fixed as it depends on the dynamic content.
I'm generating headers and foots using the JS config method as described. I can not set height property for header/footer as it is dynamic. Is there anyway that it takes height based on content size?
Any fixes on this?
bump!
Something new?
here for 2022
@ronelvcabrera I could not solve this using this lib. My solution was use puppeteer directly to generate the PDF.