[THIN] Re: Printer Mapping Through Login Scripts

This is the mechanism via VBScript, if you allow it on your servers.

strPrinter = "\\server\printershare"
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection strPrinter
objNetwork.SetDefaultPrinter strPrinter

  You could also use a Kix script or, for pure shell scripting, a batch file
that uses CON2PRT and IFMEMBER from the ResKit, although the shell script
will be the slowest.

Jeff Durbin


-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Scott Skrogstad
Sent: 31 December 2003 7:57 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Printer Mapping Through Login Scripts


Trying to get all of my users into groups and manage their 
printer assignment through group long scripts.  Anyone have 
any sample scripts I can look at, or how are you handling 
printer mapping...


********************************************************
This Week's Sponsor - Chip PC - The Next Step in Thin Client Technology.
Choose from a wide range of options offering industry-leading, innovative
thin client solutions http://www.chippc.com/products/hardware/index.asp
*********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

********************************************************
This Week's Sponsor - Chip PC - The Next Step in Thin Client Technology.
Choose from a wide range of options offering industry-leading, innovative thin 
client solutions
http://www.chippc.com/products/hardware/index.asp
*********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: