Page 1 of 1

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

Posted: Sat Sep 08, 2007 4:30 am
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.

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

Posted: Mon Sep 10, 2007 11:43 am
by Vital
Thank you for your information. At this moment we examine this bug. I will inform you about progress in this topic.

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

Posted: Mon Oct 01, 2007 4:07 pm
by josc
Any news on this issue?

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

Posted: Tue Oct 02, 2007 3:32 am
by Vital
Hello,

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

Thank you.

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

Posted: Wed Oct 03, 2007 1:21 pm
by josc
I've tested the latest build and the issue is fixed.

Thanks.

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

Posted: Thu Oct 04, 2007 3:45 am
by Edward
Let us know, if you need any help.

Thank you.

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

Posted: Wed Apr 01, 2009 8:06 am
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.

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

Posted: Wed Apr 01, 2009 2:24 pm
by Jan
Hello,

Problem fixed. Please check next build.

Thank you.