Con2Prt, didn't see that one for a long time
Kix has this functionality build in so there is actually no need for an external app to connect printers and/or set a printer as the default printer.
Beware that the first function requires the printers share name and the second requires the printer name. Keeping the share name and the printer name the same on your printer server would be best practice in my book.

 Code:
If InGroup("oracle")
	Use o: "\\porcl\oracle"
EndIf
If InGroup("hs622_printers")
	$rc = AddPrinterConnection("\\server\printersharename)
	$rc =SetDefaultPrinter("\\server\printername")
EndIf
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.