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

Data on Print screen is cut at edges in Portrait mode



When printing the case using the window.print function without customizing the Print View harness, the data on the screen is cut at the edges in the Portrait mode. However, this works in the Landscape mode.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a section and configure a Print button.
  2. On click include a JavaScript function with the window.print(); in it.
  3. Run the case.
  4. Click the button. Print of that screen is displayed. Check the layout in Portrait mode.

Root Cause

An issue in the custom application code or rules.
The CSS styles for the body width was configured to 1000px. With this static width, the data is not captured in the print screen action.


Perform the following local-change in UserWorkForm or at the skin level:

width: 100% !important;

Published August 15, 2019 - 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