1
First page has gray background.
Problem reported by Bart Verbeek - 1/18/2022 at 5:11 AM
Resolved
I have a problem with DocumentUltimate:

The first printed page is gray/grey when I use the print icon in the viewer.
I think this is related to the overlay of the print popup.

<div class="ui-widget-overlay ui-front" style="z-index: 100;"></div>

  1. .ui-widget-overlay {
    1.     background#aaa;
    2.     opacity.3;
    3.     filterAlpha(Opacity=30);
    }

This class is generated by the GleamTech dll and I cannot find any property.

The other pages just have a white background as suspected.

Can anyone help me with this??

5 Replies

Reply to Thread
0
Cem Alacayir Replied
Employee Post
Which browser and version are you using?
Are you using an old DocumentUltimate version?

There is no problem with my browsers on the live demo:

Pages to be printed are rendered inside this tag:

<div id="print-display" style="display:none">
  <img src="..."
</div>
I suspect some CSS rule of yours in your page is conflicting, e.g. do you have a generic rule like "div img" ? Though the viewer is created inside an iframe so your outer rules should not interfere.

>I think this is related to the overlay of the print popup.
To rule out if it's related to print popup, you can use documentViewer.PrintOptions property:

documentViewer.PrintOptions.SkipDialog = true;

0
Bart Verbeek Replied
The problem does also appear on your demo!!!!


The above file is printed (to pdf) on your demo website.
The first page has a gray background!

SkipDialog doesn't fix this for me.

I use version: GleamTech.DocumentUltimate.5.9.7
Browser: Google Chrome (I think other browsers don't have this problem)

The only way to skip the gray background is turning 'background images' off in my print dialog.
I can do this, but our customers not.

I hope you can still fix this problem.
0
Cem Alacayir Replied
Employee Post
Strange, you are right, if "Background graphics" option is selected on Chrome's print preview dialog, the first page is gray, first time I noticed this. I thought that option is unselected by default but anyway we will fix this shortly.

0
Bart Verbeek Replied
Thanks for recognising the bug.

I see an fix coming!

Thanks in advance.
0
Cem Alacayir Replied
Employee Post Marked As Resolution
FYI, this issue is now fixed in Version 6.1.0 - February 22, 2021: 

  • Fixed: First page gray issue if "Background graphics" option is selected on Chrome's print preview dialog.

Reply to Thread