You may want to be careful as you can break apps when you change the default group from Domain Users to another group.

Have you tried to use the printer share name or the actual printer name?

It should work just fine and you may need to add some debugging code.
Code:

$rc=addprinterconnection("\\mcsrv\LongCSR")
?@ERROR' '@serror
IF INGROUP('LONGUP')
$rc=setdefaultprinter('\\mcsrv\LONGCSR')
?@ERROR' '@serror
ENDIF



HTH,

Kent


Edited by kdyer (2005-05-25 11:56 PM)
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's