Lines Matching refs:printer

80 Defines the printer capabilities.
91 | pageSize | Array<PrintPageSize> | Yes| List of page sizes supported by the printer.|
92 | resolution | Array<PrintResolution> | No| List of resolutions supported by the printer.|
93 | minMargin | PrintMargin | No| Minimum margin of the printer.|
98 Provides the printer information.
110 | printerIcon | number | No| Resource ID of the printer icon.|
128 | printerId | string | Yes| ID of the printer used for printing.|
145 Enumerates the printer states.
153 | PRINTER_ADDED | 0 | A new printer is added.|
154 | PRINTER_REMOVED | 1 | The printer is removed.|
155 | PRINTER_CAPABILITY_UPDATED | 2 | The printer is updated.|
156 | PRINTER_CONNECTED | 3 | The printer is connected.|
157 | PRINTER_DISCONNECTED | 4 | The printer is disconnected.|
158 | PRINTER_RUNNING | 5 | The printer is running.|
170 | PRINT_JOB_PREPARE | 0 | The printer is prepared for the print job.|
171 | PRINT_JOB_QUEUED | 1 | The print job is on the print queue of the printer.|
190 | PRINT_JOB_BLOCK_OFFLINE | 4 | The printer is offline.|
191 | PRINT_JOB_BLOCK_BUSY | 5 | The printer is occupied by another process.|
193 | PRINT_JOB_BLOCK_OUT_OF_PAPER | 7 | The printer is out of paper.|
194 | PRINT_JOB_BLOCK_OUT_OF_INK | 8 | The printer is out of ink.|
195 | PRINT_JOB_BLOCK_OUT_OF_TONER | 9 | The printer is out of toner.|
196 | PRINT_JOB_BLOCK_JAMMED | 10 | The printer is in a paper jam.|
197 | PRINT_JOB_BLOCK_DOOR_OPEN | 11 | The printer door is open.|
199 | PRINT_JOB_BLOCK_LOW_ON_INK | 13 | The printer is low on ink.|
200 | PRINT_JOB_BLOCK_LOW_ON_TONER | 14 | The printer is low on toner.|
201 | PRINT_JOB_BLOCK_REALLY_LOW_ON_INK | 15 | The printer is extremely low on ink.|
203 | PRINT_JOB_BLOCK_ACCOUNT_ERROR<sup>11+</sup> | 18 | There is an error with the printer account.|
204 | PRINT_JOB_BLOCK_PRINT_PERMISSION_ERROR<sup>11+</sup> | 19 | There is an error with the printer pe…
206 | PRINT_JOB_BLOCK_NETWORK_ERROR<sup>11+</sup> | 21 | The printer is not connected to the network.|
207 | PRINT_JOB_BLOCK_SERVER_CONNECTION_ERROR<sup>11+</sup> | 22 | The printer could not be connected t…
231 | E_PRINT_INVALID_EXTENSION | 13100004 | Invalid printer extension.|
232 | E_PRINT_INVALID_PRINTER | 13100005 | Invalid printer.|
252 Provides the printer extension information.
261 | extensionId | string | Yes| ID of the printer extension.|
262 | vendorId | string | Yes| Vendor ID of the printer extension.|
263 | vendorName | string | Yes| Vendor name of the printer extension.|
264 | vendorIcon | number | Yes| Vendor icon of the printer extension.|
265 | version | string | Yes| Version of the printer extension.|
271 Obtains the information of all installed printer extensions. This API uses an asynchronous callback…
312 Obtains the information of all installed printer extensions. This API uses a promise to return the …
352 Starts discovering printers with the specified printer extensions. This API uses an asynchronous ca…
363 | extensionList | Array&lt;string&gt; | Yes| List of printer extensions to load.|
383 // If there is no information in extensionList, all extensions are used for printer discovery.
397 Starts discovering printers with the specified printer extensions. This API uses a promise to retur…
408 | extensionList | Array&lt;string&gt; | Yes| List of printer extensions to load.|
432 // If there is no information in extensionList, all extensions are used for printer discovery.
444 Stops discovering printers with the specified printer extensions. This API uses an asynchronous cal…
485 Stops discovering printers with the specified printer extensions. This API uses a promise to return…
524 Connects to the specified printer. This API uses an asynchronous callback to return the result.
568 Connects to the specified printer. This API uses a promise to return the result.
614 Disconnects from the specified printer. This API uses an asynchronous callback to return the result.
658 Disconnects from the specified printer. This API uses a promise to return the result.
704 Queries the printer capability. This API uses an asynchronous callback to return the result.
748 Queries the printer capability. This API uses a promise to return the result.
916 Cancels the specified print job, which is on the print queue of the printer. This API uses an async…
960 Cancels the specified print job, which is on the print queue of the printer. This API uses a promis…
1124 Registers a listener for printer state change events. This API uses a callback to return the result.
1155 console.log('printer state changed state is null or info is null');
1158 console.log('on printer state changed, state : ' + JSON.stringify(state));
1159 console.log('on printer state changed, info : ' + JSON.stringify(info));
1168 Unregisters the listener for printer state change events. This API uses a callback to return the re…
1282 Registers a listener for printer extension information change events. This API uses a callback to r…
1320 Unregisters the listener for printer extension information change events. This API uses a callback …
1660 Updates the printer state. This API uses an asynchronous callback to return the result.
1706 Updates the printer state. This API uses a promise to return the result.
1744 console.log('update printer state data : ' + JSON.stringify(data));
1746 console.log('update printer state error : ' + JSON.stringify(error));
1852 Updates the printer extension information. This API uses an asynchronous callback to return the res…
1863 | info | string | Yes| New printer extension information.|
1896 Updates the printer extension information. This API uses a promise to return the result.
1907 | info | string | Yes| New printer extension information.|
2406 Obtains printer information based on the printer ID. This API uses a promise to return the result.