a script to add a new printer



Is there a script that can do the following task regarding printer
installation
1.add a tcp/ip as local port, for example: 192.168.1.1
2.associate this port with specific pinter driver that located on a specific
server on the network. For example: the printer driver file is stored on
\\servername\foldername.
3. finish this printer installation and set this printer as default printer.
Note: the scritp will run on windows xp.


.



Relevant Pages

  • Re: a script to add a new printer
    ... > 1.add a tcp/ip as local port, ... the printer driver file is stored on ...
    (microsoft.public.scripting.wsh)
  • Re: a script that add a new printer
    ... server on the network. ... the printer driver file is stored on \\servername\foldername. ... You might need to run the driver installation first. ...
    (microsoft.public.windows.server.scripting)