StiReport.Info.Zoom
StiReport.Info.Zoom
Hi,
I'm wondering if you could briefly explain what this property does and does it have any effect when physically printing a page?
I'm wondering if you could briefly explain what this property does and does it have any effect when physically printing a page?
StiReport.Info.Zoom
Hello,
This property used by report designer only.
Thank you.
This property used by report designer only.
Thank you.
StiReport.Info.Zoom
Are you sure that it does not have an effect on the print output?
I have a program which generates the reports. The rendered report is saved to a file and sent to the printer.
I was wondering why the print results was smaller than the saved file, the ratio was around 0.75%.
I saw that the StiReport.Info.Zoom variable was also 0.75, if I set it to 1.0 just before printing then the printed report is correct (maybe a small issue with the margins).
Here are the steps for the report generation
Thank you.
I have a program which generates the reports. The rendered report is saved to a file and sent to the printer.
I was wondering why the print results was smaller than the saved file, the ratio was around 0.75%.
I saw that the StiReport.Info.Zoom variable was also 0.75, if I set it to 1.0 just before printing then the printed report is correct (maybe a small issue with the margins).
Here are the steps for the report generation
Code: Select all
report.Render(false);
report.Save("...");
PrinterSettings ps = new PrinterSettings();
ps.PrintToFile = false;
ps.PrinterName = "my printer";
report.Print(false, ps);
StiReport.Info.Zoom
This is also what I was experiencing.
I was loading a template through code and calling print directly (without preview). The zoom info by default was 0.75. I couldn't figure out why it was scaled to 3/4 the size until I noticed this and set it to 1.0
However loading the template, showing it in a preview and then printing it had no problems. I must say I am using quite an old build still so this may no longer be the case.
I was loading a template through code and calling print directly (without preview). The zoom info by default was 0.75. I couldn't figure out why it was scaled to 3/4 the size until I noticed this and set it to 1.0
However loading the template, showing it in a preview and then printing it had no problems. I must say I am using quite an old build still so this may no longer be the case.
StiReport.Info.Zoom
Hi,
Please check the size of the page. For example if you would print Letter sized page in the report on A4 printer, then sometimes the printout can be scaled by the printer's driver.
Please let us know the build number you used.
As for now before printing we reset this parameter in 1 immediately before print.
Thank you.
Please check the size of the page. For example if you would print Letter sized page in the report on A4 printer, then sometimes the printout can be scaled by the printer's driver.
Please let us know the build number you used.
As for now before printing we reset this parameter in 1 immediately before print.
Thank you.
StiReport.Info.Zoom
I'm using a custom size for the template (minimum between A4 and letter), and I'm setting the page size (form a user preference) for all pages in the template before rendering.
I'm using the last build 2009.1.341.0
Thank you.
Code: Select all
PaperKind paper = PaperKind.Letter; // or PaperKind.A4
foreach (StiPage page in reportTemplate.Pages)
{
page.PaperSize = paper;
}
Thank you.
StiReport.Info.Zoom
Hi Frpons,
Thank you for the explanation. Unfortunately we could not reproduce the issue.
Could you please send a sample project to support[at]stimulsoft.com. We could not reproduce the issue.
Thank you.
Thank you for the explanation. Unfortunately we could not reproduce the issue.
Could you please send a sample project to support[at]stimulsoft.com. We could not reproduce the issue.
Thank you.
StiReport.Info.Zoom
Hello,
I sent you a small project.
I also had difficulties to reproduce it but I think that the problem is coming from the SaveDocument (and not Save as I wrote previously) done before the print.
I if removed it the print is ok.
Thank you.
I sent you a small project.
I also had difficulties to reproduce it but I think that the problem is coming from the SaveDocument (and not Save as I wrote previously) done before the print.
I if removed it the print is ok.
Thank you.
StiReport.Info.Zoom
Hi
Thank you for the test project. We will inform you when the solution is available.
Thank you.
Thank you for the test project. We will inform you when the solution is available.
Thank you.
StiReport.Info.Zoom
For the moment I just changed the order and do the print before the save, and it's ok.
Thank you.
Thank you.