Lines Matching refs:printer
3 …etting general restriction policies, including disabling or enabling the printer and OpenHarmony D…
25 Enables or disables the printer through the specified device administrator application. This API us…
36 | disabled | boolean | Yes| Operation to perform. The value **true** means to disable the printer;…
62 console.error(`Failed to set printer disabled. Code is ${err.code}, message is ${err.message}`);
65 console.info('Succeeded in setting printer disabled');
73 Enables or disables the printer through the specified device administrator application. This API us…
84 | disabled | boolean | Yes| Operation to perform. The value **true** means to disable the printer;…
115 console.info('Succeeded in setting printer disabled');
117 console.error(`Failed to set printer disabled. Code is ${err.code}, message is ${err.message}`);
125 Checks whether the printer is disabled for devices through the specified device administrator appli…
136 …s| Callback used to return the result. The value **true** means that the printer is disabled; the …
172 Checks whether the printer is disabled for devices through the specified device administrator appli…
188 | Promise\<boolean> | Promise used to return the result. The value **true** means that the printer …