Hi,
I want to print a report in a windows service. I have Enterprise Edition.
I use this properties to false:
ppReport.ShowCancelDialog:=False;
ppReport.ShowPrintDialog:=False;
ppReport.ShowAutoSearchDialog := False;
What could be the problem? In a VCL aplication works fine.
Comments
A Windows Service has different requirements than a VCL app.
A couple of basic things to check
- typically runs under a different windows user account. You may want to create a special account for the windows service and install the required printer driver for the user account.
- multi-threaded. This requires thread-safe data access - meaning a separate database connection component for each thread.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com