The printer printed blank pages

Stimulsoft Reports.Silverlight discussion
Post Reply
shyam.pundkar
Posts: 20
Joined: Fri Feb 21, 2014 9:26 am

The printer printed blank pages

Post by shyam.pundkar » Mon May 16, 2016 9:42 am

Hi,

Our client is printing a generated report. But they get blank page as an output of their print job.

if they export the report to pdf and print then it works fine (the report is printed correctly)

The component responsible for printing is

Stimulsoft.Report.Viewer.SL.dll
Description:
Stimulsoft Report Viewer (Silverlight)
Version: 2014.3.0.0

The function call we make to print the report loaded in stiReportViewer is as below:

stiReportViewer.InvokePrintReport();

Please help me in this regard and let me know if more information is required.

Thanks,
Shyam
Alex K.
Posts: 6476
Joined: Thu Jul 29, 2010 2:37 am

Re: The printer printed blank pages

Post by Alex K. » Tue May 17, 2016 11:40 am

Hello,

We couldn't reproduce this bug.
Please send us a simple project which reproduces the issue for analysis.

Thank you.
shyam.pundkar
Posts: 20
Joined: Fri Feb 21, 2014 9:26 am

Re: The printer printed blank pages

Post by shyam.pundkar » Thu Jul 20, 2017 6:00 am

Hi Aleksey,

I have the following question,
Could you please let me know what stiReportViewer.CacheMode does? Can use it to release any memory the control holds?
I could able to reproduce the issue:
It appears when the available memory reaches 0 and I keep on regenerating the reports then one or many of the pages becomes blank.
Our client can still print in such situation from Acrobat reader. So they say it's a fault in your application. We are very much eager to fix this issue.
Please help!

Thanks
Shyam
HighAley
Posts: 7790
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: The printer printed blank pages

Post by HighAley » Thu Jul 20, 2017 9:49 am

Hello, Shyam.

There are two print mode in Silverlight. PostScript and using images.
If used printer does not support PostScript each page is exported as image. Obviously, it use much memory.
The only solution in this case is to use PDF export.

Thank you.
shyam.pundkar
Posts: 20
Joined: Fri Feb 21, 2014 9:26 am

Re: The printer printed blank pages

Post by shyam.pundkar » Fri Jul 21, 2017 1:21 am

Thanks HighAley for your reply! I think images printing more is used
We are experiencing a spike in memory consumption which does not come down even after the report is printed and this continue eating up memory for next report generations and end up with blank pages in the end.
Is there a way to release that memory forcefully after the printing is done? can stiReportViewer.CacheMode help in this?
HighAley
Posts: 7790
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: The printer printed blank pages

Post by HighAley » Fri Jul 21, 2017 1:05 pm

Hello.

We know about this issue.
Unfortunately, it's impossible to force disposing of the memory.

Thank you.
Post Reply