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

Print preview does not display the entire content

SA-57750

Summary



Print preview does not display the entire content when horizontal scroll bar is present.




Error Messages



Not Applicable.


Steps to Reproduce

  1. Configure a button and and OnClick call print action
  2. Save as the PrintView harness in the application ruleset and include the sections that are to be printed in that harness
  3. Run the flow


Root Cause



An issue in the custom application code or rules. The Cascading Style Sheets (CSS) was not applied with the out-of-the-box print action.


Resolution

Perform the following local-change:

Add the following in the UserWorkForm:

<style>

@media print { 
@page {size: landscape;
margin-left: -40px;}
Div#HARNESS_CONTENT, Div.harnessContent , main{ 
overflow-y: visible !important; 
overflow-x: visible !important; 
overflow: visible !important; 
width: 100% !important; 
height: 100% !important; 
position: relative !important; 
float: left !important; 
display: block !important; 
page-break-before: always; 
left: 0px !important; 
top: 50px !important; 
clear:both; 

html, body { 
height: 100% !important; 
overflow: visible !important; 
  margin-left: -30px !important;

aside { 
display :none !important; 
#width: 0px !important; 
#height : 0px !important; 


</style>



 

Published July 23, 2018 - 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