Fix JSON issue in example block
This commit is contained in:
parent
97160ffa63
commit
73b49f0dfe
1 changed files with 31 additions and 27 deletions
|
@ -8,33 +8,37 @@
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
Below is an example of some of the additional options that may be set which
|
||||||
|
may be different on each platform.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
name: 'Zebra_LP2844',
|
{
|
||||||
description: 'Zebra LP2844',
|
name: 'Zebra_LP2844',
|
||||||
status: 3,
|
description: 'Zebra LP2844',
|
||||||
isDefault: false,
|
status: 3,
|
||||||
options: {
|
isDefault: false,
|
||||||
copies: '1',
|
options: {
|
||||||
'device-uri': 'usb://Zebra/LP2844?location=14200000',
|
copies: '1',
|
||||||
finishings: '3',
|
'device-uri': 'usb://Zebra/LP2844?location=14200000',
|
||||||
'job-cancel-after': '10800',
|
finishings: '3',
|
||||||
'job-hold-until': 'no-hold',
|
'job-cancel-after': '10800',
|
||||||
'job-priority': '50',
|
'job-hold-until': 'no-hold',
|
||||||
'job-sheets': 'none,none',
|
'job-priority': '50',
|
||||||
'marker-change-time': '0',
|
'job-sheets': 'none,none',
|
||||||
'number-up': '1',
|
'marker-change-time': '0',
|
||||||
'printer-commands': 'none',
|
'number-up': '1',
|
||||||
'printer-info': 'Zebra LP2844',
|
'printer-commands': 'none',
|
||||||
'printer-is-accepting-jobs': 'true',
|
'printer-info': 'Zebra LP2844',
|
||||||
'printer-is-shared': 'true',
|
'printer-is-accepting-jobs': 'true',
|
||||||
'printer-location': '',
|
'printer-is-shared': 'true',
|
||||||
'printer-make-and-model': 'Zebra EPL2 Label Printer',
|
'printer-location': '',
|
||||||
'printer-state': '3',
|
'printer-make-and-model': 'Zebra EPL2 Label Printer',
|
||||||
'printer-state-change-time': '1484872644',
|
'printer-state': '3',
|
||||||
'printer-state-reasons': 'offline-report',
|
'printer-state-change-time': '1484872644',
|
||||||
'printer-type': '36932',
|
'printer-state-reasons': 'offline-report',
|
||||||
'printer-uri-supported': 'ipp://localhost/printers/Zebra_LP2844',
|
'printer-type': '36932',
|
||||||
system_driverinfo: 'Z'
|
'printer-uri-supported': 'ipp://localhost/printers/Zebra_LP2844',
|
||||||
|
system_driverinfo: 'Z'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}]
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue