Thank you for the prompt reply! I'm trying to relate the example code to the code I currently have and I don't see how to apply it.

The output of the following is:

-Printer1 added successfully
-Printer2 added successfully00

Here is what i have:

; \\ Printer Additions for Domain Users

IF INGROUP("Domain Users") = 1

ADDPRINTERCONNECTION ("\\server\printer1")
ADDPRINTERCONNECTION ("\\server\printer2")

Sleep 5

ENDIF

; \\ Error or success return


IF ADDPRINTERCONNECTION ("\\server\printer1") = 0
?" -Printer1 Mapped Successfully"
ENDIF

IF ADDPRINTERCONNECTION ("\\server\printer1") = 1
?" -Printer1 was unable to map"
ENDIF

IF ADDPRINTERCONNECTION ("\\server\printer2") = 0
?" -Printer2 Mapped Successfully"
ENDIF

IF ADDPRINTERCONNECTION ("\\server\printer2") = 1
?" -Printer2 was unable to install"
ENDIF