Support Article
Incorrect Bottom and Top Margins in the Generated Document
SA-24941
Summary
When a pdf document is generated from the Pega OOTB rules, there exists a space between the top of the page and the header. Similarly there exists a space between the bottom of the page and the footer.
Error Messages
There are no error messages.
Steps to Reproduce
- Create a HTML section for footer
- Create a HTML section for header
- Create a HTML section for body
- Call HTMLTOPDF Activity passing those two sections as parameters for pyPDFHeaderHTMLTemplate and pyPDFFooterHTMLTemplate plus the document body
Root Cause
Not Applicable.
Resolution
It is working as expected, whenever we are exporting any stream to PDF, by default it will take some margins at top, bottom, left and right
Published June 30, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.