A user asked us if it's possible to "change the font size for printing".
I guess this isn't really possible, since the text boxes are fixed sizes and positions and if the text would get bigger it just would be cut...?
So my question: Is it possible to choose the scaling of a report? E. g. if I've designed an A4-report, choose a scaling of 200% and get 4 printed A4 pages?
Thx
P.S. @Steff: There are some open answers from you to threads by me. I'll come back to them by time...
4 Answers, 1 is accepted
The scaling is not a property of the report. It depends on your printer driver. Check here for more information: How can I enlarge a PDF for printing?
Thanks for your reply!
Unfortunately, the link describes the use of some (not freeware) tools or the luck with the printer driver - which both is more for advanced users.
My idea was, that our users can just choose a scaling and export/print the reports in an other size than the original one - directly, without any tricks.
Best regards
Even if you change the Report.PageSettings programmatically and increase the page size, you will still need to change the report items' size and location which is not a trivial matter.
A feasible approach would be to export the report to PDF first and then configure the scaling from the PDF print dialog. You can even achieve this configuration programmatically setting the ViewerPrintScaling parameter of the PDF rendering extension. For more information on the topic, please check this thread.
Regards,
Nasko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Hello and thanks for your answer!
I already found this but it seemed to me that this isn't the solution I'm looking for. Don't know why exactly anymore. But i guess it was because when I choose a scaling in the print dialog, the content is scaled but the report's size is still the original or so.
Don't know exactly how to tell this but if for example I change scaling to 200%, the content is scaled but the page is still A4, so the content isn't printed on 4 pages but what exceeds the page size is lost (I never printed it but used the preview and page count in the print dialog).
Regards