I'm a beginner learning the basics of Kixtart. Twas wondering if someone can help me out with my coding.

Environment: Windows XP-SP2 workstations, Windows 2000 Server

Objective: set default printers, adding printer function works fine

Questions:
1) Set default printer does not work, (error code 2)I've read through the big thread, but I still can't get it to work.
2)when the doc says "printer name" is that the shared device's name under the GENERAL TAB or the SHARING TAB after right-cliking on PROPERTIES

CODE:
Code:
  
IF INGROUP ("zappa\testing")

ADD_PRINTERS()
SETDEFAULTPRINTER("FieryEB-")

IF ADDPRINTERCONNECTION("\\zappa\FieryEb-") = 0
? "Added the fieryeb printer"
SLEEP 5
IF SETDEFAULTPRINTER("FieryEB-") = 0 ;also tried ("\\zappa\FierEB-") did not work as well
? "Setting default printer to fiery"
ENDIF
SLEEP 5
ENDIF
ENDIF

FUNCTION ADD_PRINTERS()
$printer_array = "Ricoh 551", "FieryEB-", "Acct HP 4250", "Xerox DocuColor3535 PS"
FOR EACH $element IN $printer_array
ADDPRINTERCONNECTION("\\zappa\$element")
NEXT
ENDFUNCTION