Refactor printf_common() extend *printf family