Are you using the \\server\share and not \\server\local printer name?

Use the path you would use when adding the printer from Start, Run \\server\share. Post the code you are using here, maybe there's a syntax error.

Also, are the groups user groups (ingroup) or comptuer groups (computeringroup). I map printers based upon computers not users and there is a difference.