Windows Service

TECH TIP: Executing Reports in a Windows Service Environment

  1. Configure that report to suppress all dialogs
    Report.ShowPrintDialog := False;
    Report.ShowCancelDialog := False;
    Report.ShowAutoSearchDialog := False;
  2. Provide a thread-safe environment/container in which the report can execute. See the RBuilder.hlp on the Background printing feature fpr details.
  3. Typically a Windows service application executes under a special user account. To Print to the printer, you will need to install applicable printer drivers excplicity to the user account.