Move printItem macros to common macros file