print based on the inf_type rather than the inf_type_to_string of it