Quote:

I'm using the same name as the printer that I am adding.



eh?
to clarify, addprinterconnection takes \\server\sharename but, setdefaultprinter does not accept \\server\sharename. it must get \\server\printername.
_________________________
!

download KiXnet