Changing Default printer

  • Thread starter Thread starter Dragon
  • Start date Start date
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.
 
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
 
Back
Top