marklife / web/src / requestPrinterSerial
Function: requestPrinterSerial()
requestPrinterSerial(
options):Promise<WebMarklifePrinter>
Web Serial factory — for OS-paired Bluetooth-SPP printers.
Web Serial's picker is generic (lists every serial port the page is permitted to see); the user picks one, and deviceKey tells the runtime which engine to drive.
Parameters
options
Returns
Promise<WebMarklifePrinter>
Deprecated
Use requestPrinters({ transport: 'serial', deviceKey }) or requestPrinters({ transport: 'bluetooth-spp', deviceKey }) from ./request-printers.ts. Removed once consumers migrate (plan 11).