Support Article
Data on Print screen is cut at edges in Portrait mode
SA-80859
Summary
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
- Create a section and configure a Print button.
- On click include a JavaScript function with the window.print(); in it.
- Run the case.
- 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.
Resolution
Perform the following local-change in UserWorkForm or at the skin level:
.review_harness{
width: 100% !important;
}
Published August 15, 2019 - 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.