You could definitely arrange your users in specific groups, e.g. 'w20ship' and if a user is a member of that group map to that printer. Or you do an SHARES.INI file
code:
[w20aclic]
Share=\\W20LAN01\Chilton
Printers=\\w20lan04\w20pay,\\w20lan04\w20acct
DefaultPrinter=\\w20lan04\w20pay
and run Kixtart code like
code:
$share=readprofilestring('shares.ini',@USERID,'Share')
use g: \delete
use g: $share
$printers=readprofilestring('shares.ini',@USERID,'Printers')
$printers=split($printers,',')
for each $printer in $printers
$retcode=addprinterconnection($printer)
next
$defaultprinter=readprofilestring('shares.ini',@USERID,'DefaultPrinter')
$retcode=setdefaultprinter($defaultprinter)
I would prefer the grouping method since the administration is easier than manually editing the .INI file
_________________________
There are two types of vessels, submarines and targets.