Liking cljdoc? Tell your friends :D

chromex.ext.printer-provider

clj

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/extensions/printerProvider
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

on-get-capability-requested*cljs

(on-get-capability-requested* config channel & args)
source

on-get-printers-requested*cljs

(on-get-printers-requested* config channel & args)
source

on-get-usb-printer-info-requested*cljs

(on-get-usb-printer-info-requested* config channel & args)
source

on-print-requested*cljs

(on-print-requested* config channel & args)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.printer-provider namespace.

Taps all valid non-deprecated events in chromex.ext.printer-provider namespace.
sourceraw docstring

tap-on-get-capability-requested-eventsclj/smacro

(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/extensions/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/extensions/printerProvider#event-onGetCapabilityRequested.
sourceraw docstring

tap-on-get-printers-requested-eventsclj/smacro

(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/extensions/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/extensions/printerProvider#event-onGetPrintersRequested.
sourceraw docstring

tap-on-get-usb-printer-info-requested-eventsclj/smacro

(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/extensions/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/extensions/printerProvider#event-onGetUsbPrinterInfoRequested.
sourceraw docstring

tap-on-print-requested-eventsclj/smacro

(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/extensions/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/extensions/printerProvider#event-onPrintRequested.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close