More unified print logic.