Guys,

I found this interesting snippet of code and I thought maybe someone would be interested in creating a new UDF for adding printer connections to Windows 9x machines ? I don't have any 9x boxes to test this against, so im just tossing this out for any ambitious person ...


Set WshNetwork = WScript.CreateObject("WScript.Network")
PrinterPath = "\\printserv\DefaultPrinter"
PrinterDriver = "Lexmark Optra S 1650"
WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver

-Shawn