Re: Batch file IP Printer setup in Windows XP and 2000



since the clients are Win2k and XP, it would be best to use the printui
interfaces using rundll32. You need to have the port already added on the
client machine.

For XP machines you can use the \windows\system32\ prnport.vbs script to add
the ports but be sure to specify -o option in the command line, this can be
performed remotely.

You can also set up a batch file to delete the printer as well.


for help
rundll32 printui.dll,PrintUIEntry /?




--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

"Bobbie Weeks (Ms)" <bweeks@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:1162430976.635280.200560@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi there

I've got a number of networked PCs running both Windows XP and Windows
2000. Each connect to printers as Local IP (even though they're
networked printers). Printer drivers for each PC are located on a
shared network drive that everyone can see. Is there a way to create a
batch file or something so that, should a user say "I want to be able
to print to Printer XYZ", they just click on a batch file and the
driver is installed without user input?

Thanks.

Bobbie.



.



Relevant Pages

  • RE: Printing from Win9x clients stops
    ... > and make sure this software does not interfere with SBS Server. ... > clients, please disable it and try again. ... Create a local printer and redirect the port to the network server. ...
    (microsoft.public.windows.server.sbs)
  • ENABLING file and print sharing through Linksys Firewall?
    ... port Switch through the switches uplink port. ... The end result that I desire is to allow clients on the switch's wired ... all machines throughout the network ...
    (comp.security.firewalls)
  • ENABLING file and print sharing through Linksys Firewall?
    ... port Switch through the switches uplink port. ... The end result that I desire is to allow clients on the switch's wired ... all machines throughout the network ...
    (comp.security.firewalls)
  • Network Printer and client ports
    ... I have setup a logical printer on my server by going to local printer and ... On the Windows 98 clients the printer is added by using the UNC path to the ... Most Windows XP clients, connected to the network through the domain, are ... The port listed is IP_192.168.0.5 ...
    (microsoft.public.windows.server.general)
  • Re: adding machine to domain with NATed IPs
    ... sounds that the DCs are not reaching the clients ... weight 100, port 389, target srv5.mydomain.local ...
    (microsoft.public.windows.server.active_directory)