consolidated printing into obj_fmt.