Code:
if ingroup ('group name')
$rc=addprinterconnection('\\server\sharename')
endif


You might want to use primapstate.udf to first check to see if it is already mapped. You can also elect to set whether it is a default printer or an additional printer.