Printing from a Windows Service
- by Andre
Ok, I am trying to print a page from a windows service that I installed using a Visual Studio setup project.
At first I set the Account property yo Local System, but it will tell me that there are no printers installed (and there are). So I changed it to user and now it just doesn't print (no error or anything).
I did some Googleing and basically it said that "Interact with Desktop" should be enabled. To programatically do this you need to edit the registry settings for this service (which really is second prize). I tried to manually set it on the properties dialog under Services, but then I need to change the Account back to Local System, which brings me back to the "No Printers Installed" problem.
Any ideas?