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

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:25PM
    the page settings are part of the design
    you can set them after loading and before calling showreport,
    not from the preview window.
  • edited 8:25PM
    gordk wrote: »
    the page settings are part of the design
    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.
  • gordkgordk St.Catherines On. Canada.
    edited 8:25PM
    after loading the report
    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.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.