打印机信息对象
name
String - 名称description
String - 描述status
Number - 状态isDefault
Boolean - 是否默认打印机options
Object - 附加字段
例子:
1
name: 'Zebra_LP2844',
2
description: 'Zebra LP2844',
3
status: 3,
4
isDefault: false,
5
options: {
6
copies: '1',
7
'device-uri': 'usb://Zebra/LP2844?location=14200000',
8
finishings: '3',
9
'job-cancel-after': '10800',
10
'job-hold-until': 'no-hold',
11
'job-priority': '50',
12
'job-sheets': 'none,none',
13
'marker-change-time': '0',
14
'number-up': '1',
15
'printer-commands': 'none',
16
'printer-info': 'Zebra LP2844',
17
'printer-is-accepting-jobs': 'true',
18
'printer-is-shared': 'true',
19
'printer-location': '',
20
'printer-make-and-model': 'Zebra EPL2 Label Printer',
21
'printer-state': '3',
22
'printer-state-change-time': '1484872644',
23
'printer-state-reasons': 'offline-report',
24
'printer-type': '36932',
25
'printer-uri-supported': 'ipp://localhost/printers/Zebra_LP2844',
26
system_driverinfo: 'Z'
27
}
28
}]
Copied!