You could check @error and @serror after adding a printer. They will tell you what is going on with AddPrinterConnection and if that is actually the part that is failing.

Edited by Mart (2008-05-29 10:17 AM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.