recode of printf