Using print flag