TECH TIP: Executing Reports in a Windows Service Environment
- Configure that report to suppress all dialogs
Delphi/Pascal123Report.ShowPrintDialog := False;Report.ShowCancelDialog := False;Report.ShowAutoSearchDialog := False;
- Provide a thread-safe environment/container in which the report can execute. See the RBuilder.hlp on the Background printing feature fpr details.
- 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.