![electron-roller[bot]](/assets/img/avatar_default.png)
* https://chromium-review.googlesource.com/c/chromium/src/+/6230977 * chore: bump chromium to 135.0.7012.0 * chore: update accelerator.patch Support parsing Ctrl+Alt shortcuts | https://chromium-review.googlesource.com/c/chromium/src/+/6238137 * 6234236: Reapply bindings: Pass CppHeap on Isolate creation | https://chromium-review.googlesource.com/c/chromium/src/+/6234236 * 6234614: [ios blink] Move to use external begin frame source | https://chromium-review.googlesource.com/c/chromium/src/+/6234614 * chore: update chromium/feat_add_streaming-protocol_registry_to_multibuffer_data_source.patch no manual changes; patch applied with fuzz * chore: update chromium/build_libc_as_static_library.patch no manual changes; patch applied with fuzz * chore: remove chromium/cherry-pick-dd8e2822e507.patch landed upstream * 6188884: Grit: Remove output_all_resource_defines from list of valid attributes. | https://chromium-review.googlesource.com/c/chromium/src/+/6188884 * 6226981: [views-ax] Remove View::GetAccessibleNodeData() method | https://chromium-review.googlesource.com/c/chromum/src/+/6226981 * 6214895: [views-ax] Deprecate View::NotifyAccessibilityEvent | https://chromium-review.googlesource.com/c/chromium/src/+/6214895 * 6196494: Remove ImageView::SetImage() with ImageSkia param | https://chromium-review.googlesource.com/c/chromium/src/+/6196494 * 6236267: [cleanup] Remove unused PrinterBasicInfo fields | https://chromium-review.googlesource.com/c/chromium/src/+/6236267 * refactor: remove status, isDefault properties from PrinterInfo Xref: https://chromium-review.googlesource.com/c/chromium/src/+/6236267 * chore: lint * fixup: added mas bypass to new file added in https://chromium-review.googlesource.com/c/chromium/src/+/6208630 see slack for more context * chore: node script/gen-libc++-filenames.js * chore: e patches all * fix: duplicate crdtp symbols * chore: update patches * fixup! [Media Features] Remove launched features --------- Co-authored-by: alice <alice@makenotion.com> Co-authored-by: Charles Kerr <charles@charleskerr.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>
45 lines
1.9 KiB
Markdown
45 lines
1.9 KiB
Markdown
# PrinterInfo Object
|
|
|
|
* `name` string - the name of the printer as understood by the OS.
|
|
* `displayName` string - the name of the printer as shown in Print Preview.
|
|
* `description` string - a longer description of the printer's type.
|
|
* `options` Object - an object containing a variable number of platform-specific printer information.
|
|
|
|
The number represented by `status` means different things on different platforms: on Windows its potential values can be found [here](https://learn.microsoft.com/en-us/windows/win32/printdocs/printer-info-2), and on Linux and macOS they can be found [here](https://www.cups.org/doc/cupspm.html).
|
|
|
|
## Example
|
|
|
|
Below is an example of some of the additional options that may be set which
|
|
may be different on each platform.
|
|
|
|
```js
|
|
{
|
|
name: 'Austin_4th_Floor_Printer___C02XK13BJHD4',
|
|
displayName: 'Austin 4th Floor Printer @ C02XK13BJHD4',
|
|
description: 'TOSHIBA ColorMFP',
|
|
options: {
|
|
copies: '1',
|
|
'device-uri': 'dnssd://Austin%204th%20Floor%20Printer%20%40%20C02XK13BJHD4._ipps._tcp.local./?uuid=71687f1e-1147-3274-6674-22de61b110bd',
|
|
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': 'ReportLevels,PrintSelfTestPage,com.toshiba.ColourProfiles.update,com.toshiba.EFiling.update,com.toshiba.EFiling.checkPassword',
|
|
'printer-info': 'Austin 4th Floor Printer @ C02XK13BJHD4',
|
|
'printer-is-accepting-jobs': 'true',
|
|
'printer-is-shared': 'false',
|
|
'printer-is-temporary': 'false',
|
|
'printer-location': '',
|
|
'printer-make-and-model': 'TOSHIBA ColorMFP',
|
|
'printer-state': '3',
|
|
'printer-state-change-time': '1573472937',
|
|
'printer-state-reasons': 'offline-report,com.toshiba.snmp.failed',
|
|
'printer-type': '10531038',
|
|
'printer-uri-supported': 'ipp://localhost/printers/Austin_4th_Floor_Printer___C02XK13BJHD4',
|
|
system_driverinfo: 'T'
|
|
}
|
|
}
|
|
```
|