Page Settings
Hello,
There is any way to change of paper source property on page settings option in Runtime FastReport.
For security reasons, my application does not display the dialog box windows for client .
At runtime now define the number of copies to 1 , but need to change the print tray at the time of printing of the report .
Thanks
Reinaldo
There is any way to change of paper source property on page settings option in Runtime FastReport.
For security reasons, my application does not display the dialog box windows for client .
At runtime now define the number of copies to 1 , but need to change the print tray at the time of printing of the report .
Thanks
Reinaldo
Comments
you can set them after loading and before calling showreport,
not from the preview window.
I do not know which property change . I would put this at Delphi.
typically
var
Page: TfrxReportPage;
{ the first report???s page has [1] index. [0] is the Data page. }
Page := TfrxReportPage(frxReport1.Pages[1]);
{ modify the size }
Page.PaperSize := DMPAPER_A2;
{ modify the paper orientation }
Page.Orientation := poLandscape;
modify the margins here or any other page settings
before calling show report.