Batch file IP Printer setup in Windows XP and 2000

  • Thread starter Bobbie Weeks (Ms)
  • Start date
B

Bobbie Weeks (Ms)

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.
 
A

Alan Morris [MSFT]

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.
 

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

Top