printing code