IP Printing and allowing users to Click and Install a printer Via Web page or Sharepoint

the scenario:

Lets say I have two sites Denver and Houston, each location I have 100 printers, currently to install a printer for an end user we either remotely install a printer using windows explorer or have an onsite tech visit the workstation. We do not use shared printers or publish the printers to AD. instead each printer has it own NIC Card and we create a local TCP/IP port on the PC. Example HP LJ 4050TN port IP_192.168.1.100. I would like to enable the user to have the ability to install their own printers by going to a webpage or sharepoint site. The Idea is - the user in houston can click on a Houston Page and there would be all of the printers listed. The user would then click on the printer and the Printer driver and the corresponding TCP/IP port would then get installed. We are a XP and Windows 7 shop currently migrating of to Win7

Any Idea's
Who is Participating?
for 32bit systems
for windows 7

that should point you in the correct direction as then you need to somehow make the button click use a script to install the printer
youngrmyAuthor Commented:
Thanks for the Help, Those links did point me in the correct direction

The result - I was able to create a sharepoint site, Created a shortcut to the Script, and the Printers are self installing when clicked

strComputer = "."
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
set objNewPort = objWMIService.get("Win32_TCPIPPrinterPort").SpawnInstance_
Set objPrinter = objWMIService.Get("Win32_Printer").SpawnInstance_
objWMIService.Security_.Privileges.AddAsString "SeLoadDriverPrivilege", True
Set objDriver = objWMIService.Get("Win32_PrinterDriver")
objDriver.Name = "Driver name from INF File"
objDriver.SupportedPlatform = "Windows NT x86"
objDriver.Version = "3"
objDriver.FilePath = "K:\\DRIVERS\\Canon Copier\\pcl6"
objDriver.Infname = "K:\\DRIVERS\\Canon Copier\\pcl6\\P62KUSAL.INF"
intResult = objDriver.AddPrinterDriver(objDriver)

'Installs Printer Port
objNewPort.Name = "Printer IPAddress"
objNewPort.Protocol = 1
objNewPort.HostAddress = "Printer IPAddress"
objNewPort.PortNumber = 9100
objNewPort.SNMPEnabled = True

'Install Printer
objPrinter.DriverName = "Driver name from INF File"
objPrinter.PortName = "Printer IPAddress"
objPrinter.DeviceID = "Driver name from INF File"
objPrinter.Location = "Type in the Location information Here"
objPrinter.Network = True
glad I could help
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.