Page 1 of 1
Report Page size for printing
Posted: Mon Aug 13, 2007 9:37 pm
by fphealthcare
Our report page size is setted to A4. However, when we try to print the report by using our US office printer(which the paper size is setted to "Letter"), the report viewer keep warning to ask A4 papers. We tried to resize our report page size to "Letter", then it works fine. But, we need the report can be printed by using both A4 and Letter papers. How can we solve the problem?
Thanks!
Report Page size for printing
Posted: Tue Aug 14, 2007 12:52 am
by Edward
Please inform us about model of the printer you are using and the text of the message you had got.
Thank you.
Report Page size for printing
Posted: Tue Aug 14, 2007 4:45 pm
by fphealthcare
Sorry for above issue, our US office gave the wrong information to us and there is NOT any warning when they click on print button. The real problam is
Our report page size is setted to A4. But the printer default page size is "Letter". When they click on the print button and look at the printer properites, the printer page size auto changed to "A4". They are still able to print the report, but the the report bottom is cut off. They tried to change the printer page size to "Letter", but they still got same problem.
After that , we changed the report design page size to "Letter". The report can be printed properly. However,when they use the Report Viewer to print report, the printer default page size always auto change to "A4", so they have to changed it to "Letter" manually. I want to know, how can i create a report which can fix for both A4 and Letter and how can I make sure the Report Viewer print option does not change the Printer default setting?
Report Page size for printing
Posted: Thu Aug 16, 2007 3:39 am
by Edward
fphealthcare wrote:Our report page size is setted to A4. But the printer default page size is "Letter". When they click on the print button and look at the printer properites, the printer page size auto changed to "A4". They are still able to print the report, but the the report bottom is cut off. They tried to change the printer page size to "Letter", but they still got same problem.
Please inform us about page size of the report in the preview window, not from the Printer Settings dialog box, but from the window where the real pages are seen in their real size to be printed. Is it also was changed to A4 or in the preview window of the report it remained in "Letter" size?
For this you can press the button EditPage in the preview window and see the PaperSize property of the rendered page.
fphealthcare wrote: After that , we changed the report design page size to "Letter". The report can be printed properly. However,when they use the Report Viewer to print report, the printer default page size always auto change to "A4", so they have to changed it to "Letter" manually. I want to know, how can i create a report which can fix for both A4 and Letter
I suggest to use the Form in the report in which the user able to select the page size before rendering. But if this will be highly annoying window, then such a behavior of the rendering can be achieved via a variable which will be set before the report would be rendered. Via this variable you also able to set the size of the page in the BeginRender event of the Page:
Code: Select all
if (MyVariable == "A4")
{Page1.PaperSize = System.Drawing.Printing.PaperKind.Letter;}
fphealthcare wrote: and how can I make sure the Report Viewer print option does not change the Printer default setting?
Sorry, but StimulReport.Net do not change the default settings of the printer. We set the page size which is specified in the Page.PaperSize property only. So you cn be sure that the default page size remains unchanged always.
Thank you.
Report Page size for printing
Posted: Sun Aug 19, 2007 3:14 pm
by fphealthcare
Thanks for your reply. For the first question, I checked the Page size from the preview window, it remained in "A4" size. The problem is ,if we use the "Letter" size printer paper to print the report. the report bottom is cut off.
Report Page size for printing
Posted: Mon Aug 20, 2007 7:56 am
by Edward
Could you please send a mdc file of that rendered report that is cut to

for analysis. You can save the rendered report into this format from the preview window via third button from the left. As I understood from the previous post the page size of that report is "Letter".
Thank you.