Also, not a big time saver in this case, but would save where there are many calls to a MACRO
like you had in your original code.

Placing a macro into a var is better.


$w=@WKSTA
IF SUBSTR($w,1,2) = "D1" OR $w = "LEAT 30"
$PrinterName = "\\TCW2KS01\D1-HP4Si"
CALL "@LSERVER\NetLogon\Scripts\dfltpntr.kix"
ENDIF