Changing Default printer

D

Dragon

Hi,

Does anyone know of a way (or script) which I can use in my login script to
change the user's default printer based on the IP address they get from the
network?

Thank you.
 
T

Torgeir Bakken (MVP)

Dragon said:
Does anyone know of a way (or script) which I can use in my login script to
change the user's default printer based on the IP address they get from the
network?

Hi

Take a look at the VBScript function GetIPAddresses in this link:
http://groups.google.com/[email protected]


To set default printer, you can use WSH/VBScript SetDefaultPrinter method.


WSH 5.6 documentation (local help file) can be downloaded from here if you
haven't got it already:
http://msdn.microsoft.com/downloads/list/webdev.asp
 

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