Control margins in printing web
Control margins in printing web
When I open the report Simple List in winform are 3 pages printed correctly.
When viewing the report on the web has 3 pages, but when print generates 6 pages. Below the print screen.
Designer
Report in Web
Configuration IE8
Printer spool
What should I do to print the number of pages equal to the display?
When viewing the report on the web has 3 pages, but when print generates 6 pages. Below the print screen.
Designer
Report in Web
Configuration IE8
Printer spool
What should I do to print the number of pages equal to the display?
Control margins in printing web
Hi,
The result you received was a 6 pages instead of 3 because when a report was printed from the browser it is always HTML representation of the report which is obviously can not be WYSIWYG. To avoid this use better printing using Adobe Acrobat and there is an option for such printing.
But you could still receive the result you were after. Just open the Page properties in IE and set header and footer as blank and reduce page margins to zero.
Unfortunately there is no rule about margins - you always need to set them a bit bigger in the report template if you going to print using HTML representation of the report from the browser.
Thank you.
The result you received was a 6 pages instead of 3 because when a report was printed from the browser it is always HTML representation of the report which is obviously can not be WYSIWYG. To avoid this use better printing using Adobe Acrobat and there is an option for such printing.
But you could still receive the result you were after. Just open the Page properties in IE and set header and footer as blank and reduce page margins to zero.
Unfortunately there is no rule about margins - you always need to set them a bit bigger in the report template if you going to print using HTML representation of the report from the browser.
Thank you.
Control margins in printing web
Hi Edward,
Is there a setting that instead of opening the preview normal html open the pdf file directly in the browser?
Is there a setting that instead of opening the preview normal html open the pdf file directly in the browser?
Control margins in printing web
Hello,
You can use "Print to Pdf" option from Print menu.
Thank you.
You can use "Print to Pdf" option from Print menu.
Thank you.
Control margins in printing web
Hello Jan,
I would like to render the report directly to PDF, without opening the page with the visualization.
How to implement it?
I would like to render the report directly to PDF, without opening the page with the visualization.
How to implement it?
Control margins in printing web
Hi
Yes, that is possible. Please use the following code:
Thank you.
Yes, that is possible. Please use the following code:
Code: Select all
Stimulsoft.Report.Web.StiReportResponse.ResponseAsPdf(this, report, false)
Control margins in printing web
Hello Edward,
Perfect, thank you!!!
Perfect, thank you!!!
Control margins in printing web
Hi Leandro,
You are welcome.
Please let us know if you need any help.
Thank you.
You are welcome.
Please let us know if you need any help.
Thank you.
Control margins in printing web
Thanks, so far it's alright