Printers Object Not Exposed on Server
Posted on 2004-11-10
I have developed an application in Visual Basic 6 that will spawn multiple instances of the printing our company's billing statements. It works great from a PC, but it fails when executed as a service through vb scripting.
When it fails, my error log shows that that the exe was uable to view the printers object. The error number returned is #484 "Problem getting printer information from the system. Make sure the printer is set up correctly."
The ap was developed on a Windows 200 PC, and the Server is Windows 2000, sp 4.
The really odd thing about this is that it will execute fine if I log into the server remotely and execute it using "Start | Run".