Fit to page
I'm new user of FastReport .net and I think it's amazing product.
I have one question:
If I create reports that fits to A4 page for laser printer and I try to print it on inkjet printer which has larger margins, it can't fit to page, can I automatically instruct report to fit on that page, and if I can, how to do it?
Thanks in advance!
I have one question:
If I create reports that fits to A4 page for laser printer and I try to print it on inkjet printer which has larger margins, it can't fit to page, can I automatically instruct report to fit on that page, and if I can, how to do it?
Thanks in advance!
Comments
FastReport has no control over printable area of a printer. You should set the desired margins in the "Page Settings" dialog. If you set too small margins, the text may get clipped on some printers. So you have to use large enough margins if you want to print a report on different printers.
is there a way to get/set the page settings without the dialog? in short i need to detect the page margins within my code at runtime.
thank you.
EDIT:
i just found the solution:
my mistake was using a variable declared as a "PageBase" - i should have used "ReportPage"