Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Printing with a Service

Keywords:   Printing Services  network privileges

Question:

I am trying to print a report that is created from a script running as a service on Windows 2000. The script is scheduled to print only once per week. When I run the script in WinBatch, it prints fine. When running as a service, I can't get the program to send the file to the printer.

Answer:

Basically the service runs as its own user with its own default printer and network access privileges.

So most likely either there is not a printer configured for the user account that owns the service, and/or that user account does not have a configured printer.

It can get quite tricky to configure the printer for the user account that owns the service if it is some sort of system account.

In addition, if using the LocalSystem account, it, by definition, does not have network access rights.


Article ID:   W15274