I have provided an answer in your other support thread on the same topic. Here is the answer for reference:
You can customize the content of the exported document through the pdf.template option as demonstrated in the following demo:
the above sample, a header, footer and watermark are added to every
exported page through the template option. Important to note is that the
custom elements should be positioned and styled with CSS in order to
appear at the start/end/center of the document (similar to the demo).
Additional information on customizing the PDF output is also available in the documentation: