direct print without previewform and printdialog

edited 2:15AM in FastReport 3.0
how to direct print without preview report and not show printerdialog? ;)
i want to print report at once not other steps

Comments

  • edited 2:15AM
    oh,it's successed by setted the frxreport's printoptions->showdialog false and some codes:
    if frxReport.PreparedReport then
    frxReprot.Print;

    but sometimes occur a error like this:
    error.jpg
  • edited 2:15AM
    error.jpg
  • edited 2:15AM
    I see no image.
  • edited 2:15AM
    The error content is :
    access violation at address 0AEA9CEC in module 'frx7.bpl' , read of address 00000000
  • edited 2:15AM
    Could you send me a demo? tz@fast-report.com
  • edited 2:15AM
    it happens ruleless
    even in a simple report in a default form application when i switch report and debug and run program ;)
  • edited 2:15AM
    i use a fr3.10 trial version
  • edited March 2005
    when i design a report by using designeditor,and i turn to do some other things not
    in delphi ,for example internet, after a long time ,when i return the delphi,it occurs error and could not to shut down.
    you can simulate it.
  • gordkgordk St.Catherines On. Canada.
    edited 2:15AM
    This is a problem of Delphi IDE which is aggravated by fr's auto storing the report in the dfm, but it can also happen when the ide has alatge number of 3rd party libs.
    it involves stackspace and the systems memory paging, the easiest way to sove this is to save the delphi form before going to another app or at least using Delphi's close all and saving changes, this will free some system stack space
    ;)
  • edited 2:15AM
    It's a problem of delphi IDE?
    Thanks gordk ;)

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.