Print output of report with subreports is scaled when printing from code.

Stimulsoft Reports.NET discussion
Post Reply
josc
Posts: 11
Joined: Mon Nov 13, 2006 5:15 pm

Print output of report with subreports is scaled when printing from code.

Post by josc »

I'm using stimulreport 2007.2.
The ouput of printing reports with subreports added using the SubReports property gets scaled.


You can test it very easily using the sample program "PrintTable" which is supplied by stimulsoft.

Replace the line 224 in Form1.cs from

Code: Select all

report.Show();
into

Code: Select all

Stimulsoft.Report.StiReport mainreport = new StiReport();
mainreport.SubReports.Add(report);
mainreport.Print();
When you print, the output get scaled to whatever the zoomfactor is when showing the report on screen.
When printing by pushing the button on the toolbar, the output is correct.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Print output of report with subreports is scaled when printing from code.

Post by Vital »

Thank you for your information. At this moment we examine this bug. I will inform you about progress in this topic.
josc
Posts: 11
Joined: Mon Nov 13, 2006 5:15 pm

Print output of report with subreports is scaled when printing from code.

Post by josc »

Any news on this issue?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Print output of report with subreports is scaled when printing from code.

Post by Vital »

Hello,

We have updated our report engine. Please check build from 2 Oct (when it will be available).

Thank you.
josc
Posts: 11
Joined: Mon Nov 13, 2006 5:15 pm

Print output of report with subreports is scaled when printing from code.

Post by josc »

I've tested the latest build and the issue is fixed.

Thanks.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Print output of report with subreports is scaled when printing from code.

Post by Edward »

Let us know, if you need any help.

Thank you.
josc
Posts: 11
Joined: Mon Nov 13, 2006 5:15 pm

Print output of report with subreports is scaled when printing from code.

Post by josc »

In version 2009.1.355 the problem re-appears!

You can test this by taking the sample program PrintTable you provided and change line 224 in Form.cs from

Code: Select all

report.Show();
to:

Code: Select all

Stimulsoft.Report.StiReport mainreport = new StiReport();
mainreport.SubReports.Add(report);
mainreport.Print();
We also tested this in version 2008.1.200 where the bug was not present yet.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Print output of report with subreports is scaled when printing from code.

Post by Jan »

Hello,

Problem fixed. Please check next build.

Thank you.
Post Reply