dump_printf: use %T and %G throughout