Set objDriver = objWMIService.Get("Win32_PrinterDriver")
objDriver.Name = "NewPrinter Model 2900"
objDriver.SupportedPlatform = "Windows NT x86"
objDriver.Version = "3"
objDriver.FilePath = "C:\Scripts"
objDriver.InfName = "C:\Scripts\PrnDrv.inf"
intResult = objDriver.AddPrinterDriver(objDriver)
WScript.Echo intResult
-- Regards,
Christoffer Andersson
No email replies please - reply in the newsgroup
If the information was help full, you can let me know at: http://www.itsystem.se/employers.asp?ID=1
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.