Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Create a HTML section for footer
  2. Create a HTML section for header
  3. Create a HTML section for body
  4. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us