Set WshNetwork = CreateObject("WScript.Network")WshNetwork.AddWindowsPrinterConnection "\\PrintServer1\Xerox300"WshNetwork.SetDefaultPrinter "\\PrintServer1\Xerox300"来自: https://technet.microsoft.com/zh-cn/library/dd633117.aspx