Printing without preview

edited January 2004 in FastReport 2.xx VCL
Is it possible to print directly from program - without showing print preview?
How to consider (and define) default values like num. of copies, printer... ?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 12:34PM
    Hi Otzi
    yesy it is
    ......code to load report
    frreport1.preparereport;
    frreport1.printpreparedreportdlg;
    or
    frreport1.printpreparedreport(Pages:string,copies:integer, Collate:Boolean,frall);
    pages can be '', or '1' or '1,3,5' or '1..5'
    regards
    gord ;)

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.