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

Error Messages
Not Applicable.
Steps to Reproduce
- Configure a button and and OnClick call print action
- Save as the PrintView harness in the application ruleset and include the sections that are to be printed in that harness
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.