You should be capturing the return code from AddPrinterConnection("\\janus\Call Center 1")


See the manual...

$RC = AddPrinterConnection("\\janus\Call Center 1")

This will keep the extraneous character from being displayed. It will also give you the opportunity to perform and IF...EndIf to evaluate the success or failure of each command. Doing this will give you an idea of what is happening during the logon process.
_________________________
Home page: http://www.kixhelp.com/hb/