Home General

printing to PRN file without Print Dialog

edited July 2001 in General
Hello,

Dueto some problems with Quickreport, we think using ReportBuilder. I
downloaded the standard demo version. I could reproduce all the used
features with reportBuilder except that I do not find how to print to a file
without being prompt for a file name. The file name should be set by the
program at printing time.

Is there a simple way to do this with ReportBuilder ? How ?

Eric Decossaux
EORTC

Comments

  • edited July 2001
    Set the FileName string property on the Report.PrinterSetup object, if you
    want to control the PRN file. It is a public property, so you won't see it
    in the object inspector. There are some articles in the TechTips newsgroup
    which provide information about controlling the printer- they provide some
    info on the printer setup class.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.