• PrinterInfo 对象
    • 例子

    PrinterInfo 对象

    • name String
    • description 字符串
    • status Number
    • isDefault Boolean

    例子

    下面是一些可能在每个平台上不同的附加选项的示例。

    1. {
    2. name: 'Zebra_LP2844',
    3. description: 'Zebra LP2844',
    4. status: 3,
    5. isDefault: false,
    6. options: {
    7. copies: '1',
    8. 'device-uri': 'usb://Zebra/LP2844?location=14200000',
    9. finishings: '3',
    10. 'job-cancel-after': '10800',
    11. 'job-hold-until': 'no-hold',
    12. 'job-priority': '50',
    13. 'job-sheets': 'none,none',
    14. 'marker-change-time': '0',
    15. 'number-up': '1',
    16. 'printer-commands': 'none',
    17. 'printer-info': 'Zebra LP2844',
    18. 'printer-is-accepting-jobs': 'true',
    19. 'printer-is-shared': 'true',
    20. 'printer-location': '',
    21. 'printer-make-and-model': 'Zebra EPL2 Label Printer',
    22. 'printer-state': '3',
    23. 'printer-state-change-time': '1484872644',
    24. 'printer-state-reasons': 'offline-report',
    25. 'printer-type': '36932',
    26. 'printer-uri-supported': 'ipp://localhost/printers/Zebra_LP2844',
    27. system_driverinfo: 'Z'
    28. }
    29. }