Is there a way to enable conditional printing?