The chrome.printerProvider API exposes events used by print manager to query printers controlled by extensions, to query their capabilities and to submit print jobs to these printers.
The chrome.printerProvider API exposes events used by print manager to query printers controlled by extensions, to query their capabilities and to submit print jobs to these printers. * available since Chrome 44 * https://developer.chrome.com/apps/printerProvider
(on-get-usb-printer-info-requested* config channel & args)
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.app.printer-provider namespace.
Taps all valid non-deprecated events in chromex.app.printer-provider namespace.
(tap-on-get-capability-requested-events channel & args)
Event fired when print manager requests printer capabilities.
Events will be put on the |channel| with signature [::on-get-capability-requested [printer-id result-callback]] where:
|printer-id| - Unique ID of the printer whose capabilities are requested.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
https://developer.chrome.com/apps/printerProvider#event-onGetCapabilityRequested.
Event fired when print manager requests printer capabilities. Events will be put on the |channel| with signature [::on-get-capability-requested [printer-id result-callback]] where: |printer-id| - Unique ID of the printer whose capabilities are requested. Note: |args| will be passed as additional parameters into Chrome event's .addListener call. https://developer.chrome.com/apps/printerProvider#event-onGetCapabilityRequested.
(tap-on-get-printers-requested-events channel & args)
Event fired when print manager requests printers provided by extensions.
Events will be put on the |channel| with signature [::on-get-printers-requested [result-callback]].
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
https://developer.chrome.com/apps/printerProvider#event-onGetPrintersRequested.
Event fired when print manager requests printers provided by extensions. Events will be put on the |channel| with signature [::on-get-printers-requested [result-callback]]. Note: |args| will be passed as additional parameters into Chrome event's .addListener call. https://developer.chrome.com/apps/printerProvider#event-onGetPrintersRequested.
(tap-on-get-usb-printer-info-requested-events channel & args)
Event fired when print manager requests information about a USB device that may be a printer. Note: An application should not rely on this event being fired more than once per device. If a connected device is supported it should be returned in the 'onGetPrintersRequested' event.
Events will be put on the |channel| with signature [::on-get-usb-printer-info-requested [device result-callback]] where:
|device| - The USB device.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
https://developer.chrome.com/apps/printerProvider#event-onGetUsbPrinterInfoRequested.
Event fired when print manager requests information about a USB device that may be a printer. Note: An application should not rely on this event being fired more than once per device. If a connected device is supported it should be returned in the 'onGetPrintersRequested' event. Events will be put on the |channel| with signature [::on-get-usb-printer-info-requested [device result-callback]] where: |device| - The USB device. Note: |args| will be passed as additional parameters into Chrome event's .addListener call. https://developer.chrome.com/apps/printerProvider#event-onGetUsbPrinterInfoRequested.
(tap-on-print-requested-events channel & args)
Event fired when print manager requests printing.
Events will be put on the |channel| with signature [::on-print-requested [print-job result-callback]] where:
|print-job| - The printing request parameters.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
https://developer.chrome.com/apps/printerProvider#event-onPrintRequested.
Event fired when print manager requests printing. Events will be put on the |channel| with signature [::on-print-requested [print-job result-callback]] where: |print-job| - The printing request parameters. Note: |args| will be passed as additional parameters into Chrome event's .addListener call. https://developer.chrome.com/apps/printerProvider#event-onPrintRequested.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close