Jump to content

Recommended Posts

Posted

I need resources on how to create VB scripts for Windows Server 2003. Specifically I need information on how to manage print servers. Technet has examples on how to create TCP/IP printer ports but I need to know how to change the IP address associated with that port.


Posted
I need resources on how to create VB scripts for Windows Server 2003. Specifically I need information on how to manage print servers. Technet has examples on how to create TCP/IP printer ports but I need to know how to change the IP address associated with that port.

Here is a link to a article on How Can I Set the Default Printer Based on the IP Address of the Computer

This should give you a good start to what you want to do.

Hey, Scripting Guy!

Here is a page with more refrences on scripting for printers.

Hey, Scripting Guy Printer Script

Posted

gunsmokingman, honestly, that's not what I'm talking about. I do not have any clients that map printers. Everything is done on the server side since the vast majority of my users use Terminal Services with only one application allocated to them. Any and all printing uses printers mapped locally on each terminal server. I need a way or at least the info I need to construct a script to change the IP address of printer ports ie change the IP address of a port named IP_10.X.X.1 from 10.X.X.1 to 10.X.X.2. The Windows 2000 Scripting Guide was a great resource and I have yet to find the equivalent for Windows 2003.

Posted

The Windows 2000 scripting guide should be fine, there never will be a book for 2003.

Since printer ports are technically just registry keys, you could write a script that stopped the print spooler service, read in the reg keys for the current values and wrote back the port values you wanted, then started the print spooler service.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...