My template is formatted correctly in Google Docs. When the content generated by my application results in a single-page document, everything looks fine (although for some reason the page number is not printed, but this is not critical):
However, when the document extends to 2 or more pages, the formatting no longer respects the defined margins and the footer is pushed onto the next page:
AppSheet’s PDF generation only supports the header on the FIRST page and a footer on the LAST page. Sadly, It will not provide a header and footer on each page.
If such formatting is important on your generated documents, there is one other approach to generating PDF’s that has been detailed by one of our other contributors @SkrOYC (Oscar). In the post below, I have provided links to the 3 articles he has written. There is a learning curve which I personally have not yet needed to pursue but my understading is that it is a MUCH MAUCH better way to create excellent PDF’s
Thank you for your answers.
”AppSheet’s PDF generation only supports the header on the FIRST page and a footer on the LAST page. Sadly, It will not provide a header and footer on each page.”