hi How can I make the code below print only the tabs I highlight. At the moment all tabs are printed regardless of which tabs I selected (btw this is to get around 2005's printing issues) many thanks if you can solve my problem Russ (defun C:plotabs (/ ) (foreach LLN (layoutlist) (setvar "CTAB" LLN) (command "-plot" "" "" "" "" "" "" "") ) (princ) )