OK, I'm trying to print a page from a Windows service that I used to do a Visual Studio Setup Project Have experimented using.
At first I had set up the account property yo local system, but it will tell me that no printers are installed (and there are). So I changed it to user and now it does not print (no error or nothing).
I did some googleing and originally said that "interact with desktop" should be enabled. To do this programmatically, you will need to edit the registry settings for this service (which is actually the second prize). I tried to manually set it on the Properties dialogue under the services, but then I need to change the account back to the local system, which brings me back to the "no printer installed" problem.
Any thoughts?
I do not suggest interacting with desktops. You can also use Vista, Windows 7 and later versions of Windows But will participate in compatibility problems.
You can use the user to log on to get the user token and then print the user's token. You can use it to make real printing.
To log in sessions you can use or
Comments
Post a Comment