Home General

Print on a windows service


I want to print a report in a windows service. I have Enterprise Edition.

I use this properties to false:
ppReport.ShowAutoSearchDialog := False;

What could be the problem? In a VCL aplication works fine.


  • Hi Tania,

    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
  • Thank you, i'll try to do it
Sign In or Register to comment.