Yep these values show that the AddPrinterConnection function executes as it should.

Something else must be going wrong. You might want to run the script in debug mode so it executes line by line and you can see on what lines it fails. You can run the script in debug mode like this.

 Code:
kix32.exe -d yourscript.kix
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.