check canPrint