The following code works perfectly when run from a .vbs file. How can I utilize this code from a web page form button? Currently, the code errors on the first line.
Set WshNetwork = WScript.CreateObject("WScript.Network")
PrinterPath = "\\ServerName\PrinterName"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.