set the printer bin?

Hi!

Is there a new way implemented to set the printer bin after preparing the report?

In version 3 it was possible by setting the Bin-Property of the preview-page. But how can i achive this behaviour in version 4?

Thanks for thinking about.

Comments

  • edited 7:00AM
    Is there a solution?
  • edited 7:00AM
    chaosben wrote: »
    Is there a solution?

    page 12 of the programmers manual.

    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;

    and

    Page.Bin :=
  • edited June 2008
    Thank you for this hint.

    But your solution doesnt work for me, because i save the prepared report to a file, load it again from the file and print it then. In this situation, the Report.PagesCount is 0 an thats why i cant change the printer-bin.

    Do you know a solution for it?

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.