PDFApp was updated to v1.0.2.
- 
v1.0.2 (August 21, 2023) - A new method of insertHeaderFooterwas added. Ref When this method is used, the custom header and footer can be added when a Google Spreadsheet is exported as PDF.
 
- A new method of 
You can see the detail information here https://github.com/tanaikech/PDFApp