Print Drivers via GPO

  • Thread starter Thread starter Kyle
  • Start date Start date
K

Kyle

Is there a way I can force the use of a postscript print
driver via a GPO.

thanks,
Kyle
 
Assign the follow VB script with in a GPO as startup or logon script

HOW TO: Assign Scripts in Windows 2000:
http://support.microsoft.com/default.aspx?scid=kb;en-us;322241

Script Code from TechNet Script Center

strComputer = "."
Set objWMIService = GetObject("winmgmts:" & _
"{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

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
 

Ask a Question

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.

Ask a Question

Similar Threads

gpo filtering 1
Deploying printers via GPO 7
GPO settings are not applied 2
GPO questions 1
Specify Autoarchive location 1
deploy VBS using GPO 1
How do you copy a GPO when using AGPM? 0
Update driver thru GPO 1

Back
Top