Question
May 22, 2007 at 05:25 AM
stergios_nik

Printer’s script in VISTA Ultimate

by stergios_nik . Updated 18 years, 10 months ago

Hello, everyone.

We have installed a lab with PCs running VISTA ULTIMATE.

I tried to use the vbs script that I was using in XP Professional but it does not work.

Set WshNetwork = CreateObject(“WScript.Network”)
WshNetwork.AddWindowsPrinterConnection “\\server\hercucol”
WshNetwork.AddWindowsPrinterConnection “\\server\hercubla”
WshNetwork.SetDefaultPrinter “\\server\hercubla”

Any ideas? What could be problem?

Thank you in advance.

This discussion is locked

All Comments