首页 > Windows开发 > 详细

PrinterInfo (API: Objects) – Electron 中文开发手册

时间:2020-07-05 11:34:07      阅读:60      评论:0      收藏:0      [点我收藏+]
[

PrinterInfo (API: Objects) - Electron 中文开发手册
name 串description 串status数isDefault布尔型

以下是一些可能设置的附加选项的示例,每个平台可能有所不同。

{
  name: ‘Zebra_LP2844‘,
  description: ‘Zebra LP2844‘,
  status: 3,
  isDefault: false,
  options: {
    copies: ‘1‘,
    ‘device-uri‘: ‘usb://Zebra/LP2844?location=14200000‘,
    finishings: ‘3‘,
    ‘job-cancel-after‘: ‘10800‘,
    ‘job-hold-until‘: ‘no-hold‘,
    ‘job-priority‘: ‘50‘,
    ‘job-sheets‘: ‘none,none‘,
    ‘marker-change-time‘: ‘0‘,
    ‘number-up‘: ‘1‘,
    ‘printer-commands‘: ‘none‘,
    ‘printer-info‘: ‘Zebra LP2844‘,
    ‘printer-is-accepting-jobs‘: ‘true‘,
    ‘printer-is-shared‘: ‘true‘,
    ‘printer-location‘: ‘‘,
    ‘printer-make-and-model‘: ‘Zebra EPL2 Label Printer‘,
    ‘printer-state‘: ‘3‘,
    ‘printer-state-change-time‘: ‘1484872644‘,
    ‘printer-state-reasons‘: ‘offline-report‘,
    ‘printer-type‘: ‘36932‘,
    ‘printer-uri-supported‘: ‘ipp://localhost/printers/Zebra_LP2844‘,
    system_driverinfo: ‘Z‘
  }
}
]
转载请保留页面地址:https://www.breakyizhan.com/javascript/25774.html

PrinterInfo (API: Objects) – Electron 中文开发手册

原文:https://www.cnblogs.com/breakyizhan/p/13238128.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!