Skip to content

Interface: DiscoveredPrinter

A printer that was discovered on one of the supported transports.

Returned by PrinterDiscovery.listPrinters(). Pass the matching fields (vid, pid, serialNumber, or host/port) into openPrinter() to open a specific device.

Properties

PropertyTypeDescription
connectionIdstringTransport-specific connection identifier. Opaque to consumers — a USB device path, a TCP host:port, or a BLE address, depending on transport.
deviceDeviceEntryRegistry entry for the detected model.
serialNumber?stringSerial number, if the transport exposes it (USB descriptor, mDNS TXT, etc.).
transportTransportTypeWhich transport this printer was discovered on.