Im having trouble with SetDefaultPrinter again!!!!

code:
if addprinterconnection("\\staff02\EpsonSIMS") = 0
AT (14,15) "Connected to Epson printer"
endif

if SetDefaultPrinter ("\\staff02\EpsonSIMS") = 0
AT (14,15) "Connected to Epson (Default)"
endif
return

The thing is its not setting the default printer so no apps can see it! Im using NT4 and the latest kix version!

TIA

Mike