As I work on generating a PDF, my employer has requested that I add a footer to each page of the document. Currently, the PDF is being created using Rotativa, where an HTML page is converted into a PDF.
However, I am facing a challenge in determining the best way to achieve this. I have considered various options, including plain CSS code, but none of them seem to be working effectively for me. This is particularly true because the number of pages in the PDF can vary - it could be just one page or as many as ten pages, depending on the content that needs to be included.
Therefore, the footer needs to adapt and be responsive to the number of pages generated.
If anyone has any ideas or suggestions on how I can accomplish this task, I would greatly appreciate it. I am eager to resolve this issue, but I am currently at a loss for how to proceed.
Thank you in advance for your help.
Best regards, Lorenzo Otto