UltimatePDF has RepeatHeading block, which perfectly repeats the header.
Do you have plans to do something similar for footer?
Currently, I am repeating the footer by using css for the footer container:
border-top: 1px solid rgb(0, 0, 0);
bottom: 0px;
font-size: 10px;
left: 0px;
position: fixed;
right: 0px;
With the above approach, I cannot do much with the spacing of the footer. Currently, the footer and the content are too close to each other. Providing @page {margin-bottom: <num> cm} also does not help since the "footer" is considered part of the content
Is the above the recommended approach for handling the footer? Or, is there a better way to handle this?
I have also noticed that PageNumbers\PageNumber and PageNumbers\PageCount do not work. Kindly give more insights on this.
I have to handle the page number issue by using css as well:
@page {
margin-bottom: 1cm;
@bottom-center
{
content: "Page " counter(page) " of " counter(pages)
}
I was also expecting PrintLayout\PrintLayout Header and Footer placeholder to handle the repetition based on the description but I had to use RepeatHeading component and the above approach for the footer to achieve my goal
Hi @Rupali Roy Choudhury ,For repeating the footer, in ultimate pdf we have the print layout block in that by default we have footer placeholder. You just place the footer content in that footer placeholder .It will be automatically repeat the footer.I have attached the sample screenshot of the structure for your reference.Thanks!.
Its true, but the problem is the margin with footer. its hard to set guess. She is facing issue with that.
Hi @Amit Jain,for the ultimate pdf by default we have the custom margin actions also. So that we can set the margins as expected.
Thanks @sundar r. I tried the approach of ScreenToPDF (as per your screenshot) and it works :)