Print difficulty
Print difficulty
Hi,
I use of stimulreport version 2015.2 in asp.net.
I create a report with following parameters :
page.PageHeight=297;
page.PaperSize=System.Drawing.Printing.PaperKind.A4;
I use of asp.net HTML5 viewer.
when I run the report all the pages seem correct. But when I push the print button and print preview appears the next page is pulled up and I see some lines of next page at the bottom of the current page.
I have the same problem on all of my reports.
best regards
kourosh
I use of stimulreport version 2015.2 in asp.net.
I create a report with following parameters :
page.PageHeight=297;
page.PaperSize=System.Drawing.Printing.PaperKind.A4;
I use of asp.net HTML5 viewer.
when I run the report all the pages seem correct. But when I push the print button and print preview appears the next page is pulled up and I see some lines of next page at the bottom of the current page.
I have the same problem on all of my reports.
best regards
kourosh
Re: Print difficulty
Hello.
What page format is set in the print settings?
Could you send us a screenshot of this page?
Thank you.
What page format is set in the print settings?
Could you send us a screenshot of this page?
Thank you.
Re: Print difficulty
The report's page format and browser's print settings is A4.
The report has 112 pages (correct) but in print preview it converts to 108 pages.
Some screenshots are as the following.
Browser is chrome 52.0.2743.116(latest version);
And in the code :
report.Unit = StiUnit.Millimeters;
page.PaperSize = System.Drawing.Printing.PaperKind.A4;
page.PageWidth = 210;
page.PageHeight = 297;
The report has 112 pages (correct) but in print preview it converts to 108 pages.
Some screenshots are as the following.
Browser is chrome 52.0.2743.116(latest version);
And in the code :
report.Unit = StiUnit.Millimeters;
page.PaperSize = System.Drawing.Printing.PaperKind.A4;
page.PageWidth = 210;
page.PageHeight = 297;
- Attachments
-
- page 106,107,108
- 1-5 A4.JPG (100.17 KiB) Viewed 3449 times
-
- pages 66,67,68
- 1-4 A4.JPG (106.12 KiB) Viewed 3449 times
-
- pages 1,2,3
- 1-3 A4.JPG (97.26 KiB) Viewed 3449 times
-
- page 1
- 1-2 A4.JPG (106.63 KiB) Viewed 3449 times
-
- html viewer
- 1-1 A4.JPG (211.17 KiB) Viewed 3449 times
Re: Print difficulty
And the following code results :
report.Unit = StiUnit.Millimeters;
page.PaperSize = System.Drawing.Printing.PaperKind.A4;
page.PageWidth = 210 - (2 * 10.16);
page.PageHeight = 297 - page.Margins.Top - page.Margins.Bottom + 2.46;
report.Unit = StiUnit.Millimeters;
page.PaperSize = System.Drawing.Printing.PaperKind.A4;
page.PageWidth = 210 - (2 * 10.16);
page.PageHeight = 297 - page.Margins.Top - page.Margins.Bottom + 2.46;
- Attachments
-
- pages 1,2
- 2-1 custom.JPG (94.91 KiB) Viewed 3449 times
-
- pages 64,65
- 2-2 custom.JPG (86.43 KiB) Viewed 3449 times
-
- pages 84,85
- 2-3 custom.JPG (91.32 KiB) Viewed 3449 times
-
- pages 110,111,112
- 2-4 custom.JPG (93.63 KiB) Viewed 3449 times
Re: Print difficulty
Hello,
The Google Chrome browser itself resizes an HTML page for printing, size depends on the margins.
Please try to set Margins to None in this print dialog instead of the Default.
This will avoid double margins (margins of the report and the margins of the browser), and the page size should be more correct.
Thank you.
The Google Chrome browser itself resizes an HTML page for printing, size depends on the margins.
Please try to set Margins to None in this print dialog instead of the Default.
This will avoid double margins (margins of the report and the margins of the browser), and the page size should be more correct.
Thank you.
Re: Print difficulty
Hi
I tried Custom, None and Minimum Margins but it didn't help me.
Changing the Viewer control from StiMobileViewer to StiWebViewer solved the problem.
it seems this is a bug in StiMobileViewer.
Thank you.
I tried Custom, None and Minimum Margins but it didn't help me.
Changing the Viewer control from StiMobileViewer to StiWebViewer solved the problem.
it seems this is a bug in StiMobileViewer.
Thank you.
Re: Print difficulty
Hello,
Can you please send us a request on support@stimulsoft.com with detail description.
Thank you.
Can you please send us a request on support@stimulsoft.com with detail description.
Thank you.