Does this work as expected (untested):
Code:
if INGROUP("Admin 4200")
$= addprinterconnection("\\Corp\Exec HP 4200")
endif
if INGROUP("Canon")
$= addprinterconnection("\\Corp\CSRS_CanoniR5")
endif
if INGROUP("Color 1320")
$= addprinterconnection("\\Corp\ColorAnalyst")
endif
if INGROUP("HP 2430")
$= addprinterconnection("\\Corp\HP2430Mailing")
endif
if INGROUP("HP 8000")
$= addprinterconnection("\\Corp\Estimating")
endif
if INGROUP("HP 8500")
$= addprinterconnection("\\Corp\HPColor_preflight")
endif
if INGROUP("HP LJ 6MP")
$= addprinterconnection("\\Corp\LJet6mp")
endif
if INGROUP("Kyocera")
$= addprinterconnection("\\Corp\Planning_5035")
endif
if INGROUP("Planning Samsung")
$= addprinterconnection("\\Corp\ML-1650")
endif
if INGROUP("Sheetfed 1320")
$= addprinterconnection("\\Corp\Sheetfed")
endif
if INGROUP("Shipping 1320")
$= addprinterconnection("\\Corp\Shipping")
endif
if INGROUP("Web 1320")
$= addprinterconnection("\\Corp\WebHP")
endif
;SET DEFAULT
if INGROUP("Canon")
$= SETDEFAULTPRINTER("\\Corp\Canon iR5000-6000 PCL6")
endif
if INGROUP("HP 8000")
$= SETDEFAULTPRINTER("\\Corp\HP LaserJet 8000 Series PS")
endif
if INGROUP("HP LJ 6MP")
$= SETDEFAULTPRINTER("\\Corp\HP LaserJet 6P/6MP PostScript")
endif
if INGROUP("Sheetfed 1320")
$= SETDEFAULTPRINTER("\\Corp\Sheetfed Laserjet1320")
endif
if INGROUP("Shipping 1320")
$= SETDEFAULTPRINTER("\\Corp\Shipping 1320N")
endif
if INGROUP("Shipping 1320")
$= SETDEFAULTPRINTER("\\Corp\Web HP 1320N")
endif