nestjs-pdf
nestjs-pdf copied to clipboard
How can I set "header" and "footer" height?
trafficstars
I know this module uses "html-pdf", and it's default header height is 46mm, footer height is 28mm
How can I customize them?
I can't find any options for it.

This is my code

Hope this helps
@zulmarij thanks this solution worked perfectly. It should be noted that you can also pass footer here the same way:
ie:
{ footer: { height: '25px', footer: '<div>this is a footer!</div> } }