Hello. This is a follow up from a previous question. System is Windows 2000 server, Classic ASP, VBscript 5.6
I am attempting to print from the server using either ASP, or WSH.
In ASP when I try the following:
Set objFS = CreateObject("Scripting.FileSystemObject")
Set objWSHNet = CreateObject("WScript.Network")
I get an "Access denied" error on the AddWindowsPrinterConnection line.
Anyone know why? The printer address is correct.
Is this the way to do is or would it be better to create a WSH COM object and use that ? Would there be any advantage in that?
Any help appreciated.