by ObcT12 - taken from the Script Repository (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 15th May 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Maps a network printer
Dim WshNetwork
Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "<Path to Printer>"
WshNetwork.SetDefaultPrinter "<Path to Printer>"