labelmanager / node/src / LabelManagerDiscovery
Class: LabelManagerDiscovery
PrinterDiscovery implementation for DYMO LabelManager printers.
Enumerates the USB bus via node-usb, matches against the LabelManager DEVICES registry, and opens matching devices through the shared UsbTransport from @thermal-label/transport/node.
Implements
Constructors
Constructor
new LabelManagerDiscovery():
LabelManagerDiscovery
Returns
LabelManagerDiscovery
Properties
family
readonlyfamily:"labelmanager"='labelmanager'
Driver family identifier — matches DeviceEntry.family.
Implementation of
PrinterDiscovery.family
Methods
listPrinters()
listPrinters():
Promise<DiscoveredPrinter[]>
List connected printers on this driver's supported transports.
Returns
Promise<DiscoveredPrinter[]>
Implementation of
PrinterDiscovery.listPrinters
openPrinter()
openPrinter(
options?):Promise<DymoPrinter>
Open a printer matching the given options.
If no options are provided, opens the first available printer.
Parameters
options?
OpenOptions = {}
Returns
Promise<DymoPrinter>
Implementation of
PrinterDiscovery.openPrinter