direct print without previewform and printdialog

edited 5:52AM 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 5:52AM
    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 5:52AM
    error.jpg
  • edited 5:52AM
    I see no image.
  • edited 5:52AM
    The error content is :
    access violation at address 0AEA9CEC in module 'frx7.bpl' , read of address 00000000
  • edited 5:52AM
    Could you send me a demo? tz@fast-report.com
  • edited 5:52AM
    it happens ruleless
    even in a simple report in a default form application when i switch report and debug and run program ;)
  • edited 5:52AM
    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 5:52AM
    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 5:52AM
    It's a problem of delphi IDE?
    Thanks gordk ;)

Leave a Comment