Browser Printing Review shows scrollbars instead of the whole content on the screen

When I use dynamic layout tabs in Pega 8.7.3. I opened the work object in a tab and print the screen by browser Print feature, Printing Review shows a scrollbar instead of the whole content on the screen and it is exceeding the size of the page and hence print is getting cut off. See screenshots. Please help!

@LeiZ9749 The print that you are referring to is browser print which includes entire portal view and not just the case details. If you need to have print of just case details - you can make use of PrintView harness and use print action may be on click of print icon.

Hope this helps.

@SanthoshRanga Thanks for the reply, PrintView seems only for overall case details, our requirement is to print FlowAction content whatever current assignment that the user is working on.

Hi @LeiZ9749,

Try adding the below CSS in userworkform and check if any changes are observed.

<style>

  

  @media print

{    

    * {

        overflow: visible !important;

    }

}

  

</style>

Thanks

Dipti Aggarwal

@LeiZ9749 We need to have the PrintView customized in your work class such that it has all header and flow action details - just like perform harness.

If not in favor of using PrintView, check if below link helps

@aggad Thank you very much for the hint, @media print works for me, I have found the resolution by different code.

Add this in portal Harness CSS:

@media print {
.iframe-wrapper {
height:2800px; /Preset capability to 3 pages/
}
}