Link to home
Start Free TrialLog in
Avatar of JamesMonaghan
JamesMonaghan

asked on

Network Install Utility

Is there any way to have an exe file that a user can double click and it will automatically setup a networked printer on their machine. In the past I have setup JetDirect print servers and it creates a executable that is double clicked and the printer is setup instantly, i presume it must have a config file within it. All my printers are on the same print server and they are all HP LaserJets. I dont want to use a logon script for it i.e. net use lpt1 \\printserver\share etc..

Thanks in advance...
Avatar of Member_2_49692
Member_2_49692

The only way I know of is through a batch file... unless the printer company provided an .exe file. Otherwise you would have to have an exe file for that printer created. Unless you created your own batch file.

Avatar of JamesMonaghan

ASKER

do you have an example of a batch file I could use, maybe paste something into here?
ASKER CERTIFIED SOLUTION
Avatar of Member_2_49692
Member_2_49692

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can also use a product found at Parissoftware.net.  It is web based and allows users to map their own printers via a signed OCX control from an IE browser
But how do you add the TCP printer port with the batch file?  I can't figure out how to do this!
The below will create the port then you just add the printer with one of the above scripts.  Change to your ip addresses

Set objWMIService = GetObject("winmgmts:")
Set objNewPort = objWMIService.Get _
("Win32_TCPIPPrinterPort").SpawnInstance_
objNewPort.Name = "IP_192.168.40.20"
objNewPort.Protocol = 1
objNewPort.HostAddress = "192.168.40.20"
objNewPort.PortNumber = "9100"
objNewPort.SNMPEnabled = False
objNewPort.Put_


Thanks
ACE