Paper Source Selection

Hello everybody,

i use the Fastreporter in Delphi 7.
bevor printing i will set the paper source for the printer.
how can i do that?
example:
(the name of the right property i need. Like the following :frReport1.pageoption.papersource:='schacht1')

best regards
Carsten

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:23PM
    Hi carsten
    modify the design page properties after loading the report

    procedure TForm1.Button1Click(Sender: TObject);
    var
    page:tfrpage;
    v,v2:tfrview;
    b:tfrbandview;
    ab:tfrband;
    obindex,pgindex:integer;
    teststr:string;
    begin
    frreport1.clear;
    frreport1.loadfromfile(wpath+'1.frf'); //load report sub your own name here
    for pgindex := 0 to frreport1.Pages.count-1 do //iterate through pages
    begin
    page := frreport1.Pages[pgindex];//retreive page
    if page.Prop= ptreport then // if not dialog
    begin
    //PAGE.Prop:= TRUE;
    page.pgSize := integer value

    regards ;)
  • edited 4:23PM
    thanks much


    best regards
    Carsten

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.