I am making use of HTML, thymeleaf and flying-saucer-pdf
I have the code at following link to convert html to pdf: https://github.com/Naresh-Chaurasia/html-pdf-generation-1x
Java To Convert HTML to PDF using iText: https://github.com/Naresh-Chaurasia/html-pdf-generation-1x/blob/main/src/main/java/in/connect2tech/html/pdf/HtmlToPdfMain.java
Everything works fine and below is the sample PDF generated.
Problem Statement: The problem arises when the record spans more than 1 page. I am not able to create the header in all the pages, as can be seen in the screenshot below, the records start without the header and logo.
Question:How can I repeat the header logo on all the generated pdfs.
Thanks for any pointers/help in advance.