# Adding header and footer to PDF

**URL:** https://discourse.nodered.org/t/adding-header-and-footer-to-pdf/90652
**Category:** General
**Created:** [2 September 2024 15:45 UTC](https://discourse.nodered.org/t/adding-header-and-footer-to-pdf/90652 "2024-09-02T15:45:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tfuchs1987](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tfuchs1987/32/44508_2.png) [@tfuchs1987](https://discourse.nodered.org/u/tfuchs1987)
#### Post date: [2 September 2024 15:45 UTC](https://discourse.nodered.org/t/adding-header-and-footer-to-pdf/90652/1 "2024-09-02T15:45:51Z")

</div>

Hi Node-REDers,

I am trying to find a way to add header and footer information to an existing PDF document. Is there a contribution in Node-RED to achieve this?

Thanks in advance if someone can guide me in the right direction

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [2 September 2024 15:52 UTC](https://discourse.nodered.org/t/adding-header-and-footer-to-pdf/90652/2 "2024-09-02T15:52:12Z")

</div>

Yes it is possible.

Here is a demo of one such node: [Hide/Show elements in a pdf with node-red-contrib-pdfmake - #4 by Steve-Mcl](https://discourse.nodered.org/t/hide-show-elements-in-a-pdf-with-node-red-contrib-pdfmake/57312/4)

and here is the info necessary to add headers and footers: [pdfmake](https://pdfmake.github.io/docs/0.1/document-definition-object/headers-footers/)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [1 December 2024 15:53 UTC](https://discourse.nodered.org/t/adding-header-and-footer-to-pdf/90652/3 "2024-12-01T15:53:08Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
