how to can directly printing whitout dialog box?

edited 6:16PM in FastReport 3.0
whitout dialog box.
how can select the printer for the d5 program?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:16PM
    typically
    frxreport1.Printoptions.printer := integer;
    which is the indexvalue of printer in printerslist
  • edited 6:16PM
    Hi,

    I use this code:

    if frxReport1.PrepareReport then begin
    frxReport1.PrintOptions.ShowDialog := False;
    frxReport1.Print;
    end;


    Regards.
  • edited 6:16PM
    ok. i set this parameters, but i see the dialog box.

    DataModule1.Query1.Active:=true; <this is the data
    form1.frxReport3.LoadFromFile('dmeai.fr3'); <<this is the report file
    if Form1.frxReport3.PrepareReport then
    begin
    Form1.frxreport3.Printoptions.printer := Edit4.text; <first try strtoint(edit4.text) but not good
    form1.frxReport3.PrintOptions.ShowDialog := False;
    form1.frxReport3.Print;
    end;

    i not use any frx****.pas file from source directory? this is the problem?
  • edited 6:16PM
    up
  • edited 6:16PM
    ???

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.