addprinterconnection is not command, as it's function.

proper syntax is:
addprinterconnection("\\server\printer")
_________________________
!

download KiXnet