brother-ql / web/src / requestPrintersUsbLegacy
Function: requestPrintersUsbLegacy()
requestPrintersUsbLegacy(
options?):Promise<Record<string,WebBrotherQLPrinter>>
Show the browser's USB picker and return one PrinterAdapter per drivable engine on the selected device, keyed by engine role.
Brother QL devices are always single-engine — this returns a 1-key record keyed by the device's engines[0].role (typically 'primary').
Parameters
options?
RequestOptions = {}
Returns
Promise<Record<string, WebBrotherQLPrinter>>
Deprecated
Use the generic requestPrinters({ transport: 'usb' }) from ./request-printers.ts — the legacy USB-only name is preserved as requestPrintersUsbLegacy for back-compat. Removed once consumers migrate (plan 11).