Printing from a non user account.
Posted on 2004-09-20
I have a webserver (Sambar Server) which runs PHP.
One of the pages is used to launch a Windows GUI application.
The application will open a file, read it and print it. Fairly straight forward.
But, when I tell the server to do it's magic, instead of printing the page, I get a dialogue asking me to save the page as an image.
I suspect that the user the server is running at does not know how to deal with the printer.
The user is NT AUTHORITY\SYSTEM.
Now, I can change who the server runs as (i.e. me) and the program works as expected, but that I am not sure about security levels here as my account is an admin account.
How do I configure printers for LocalSystem / NT AUTHORITY\SYSTEM.
The printer in question is a network printer.