Google JavaScript API - Chrome.printerProvider: Printer id format
问题 I trying to use chrome.printerProvider to make a printing extension. Can anyone give me an example about PrintInfo id ? I'm request print via network and I setting PrintInfo Id by printer address but it's not working. Here is my script: chrome.printerProvider.onGetPrintersRequested.addListener(function callback(resultCallback) { resultCallback([{ id: '192.16.1.18', // printer address name: 'My Printer', }]); }); or chrome.printerProvider.onGetPrintersRequested.addListener(function callback