Should my script for the default printer be more like below so I am not using the share name?

CASE $Location = "training"
ADDPRINTERCONNECTION ("\\Lex\Tech_lab_Main")
SETDEFAULTPRINTER ("Tech_lab_Main")