If you remove the group check portion, does it then map the printer?

 Code:
If AddPrinterConnection("\\INFRATI03\FORMIM01") = 0
   'Added printer' ?
EndIf