Namespace: printers

qz.printers

Calls related to getting printer information from the connection.
Source:

Methods

(static) find(queryopt) → {Promise.<(Array.<string>|string|Error)>}

Parameters:
Name Type Attributes Description
query string <optional>
Search for a specific printer. All printers are returned if not provided.
Source:
Returns:
The matched printer name if query is provided. Otherwise an array of printer names found on the connected system.
Type
Promise.<(Array.<string>|string|Error)>

(static) getDefault() → {Promise.<(string|Error)>}

Source:
Returns:
Name of the connected system's default printer.
Type
Promise.<(string|Error)>