Skip to content

brother-ql


brother-ql / node/src / BrotherQLOpenOptions

Interface: BrotherQLOpenOptions

Driver-specific openPrinter options.

Extends the contracts OpenOptions with path / baudRate for serial (RFCOMM over OS-paired Bluetooth on the QL-820NWB, or any USB-to-serial adapter). Baud rate is forwarded to the OS driver; RFCOMM ignores it, but serialport requires a value.

Extends

Properties

baudRate?

optional baudRate?: number

Baud rate override; defaults to 9600.

Overrides

OpenOptions.baudRate


path?

optional path?: string

Serial device path — e.g. /dev/rfcomm0 (Linux) or COM3 (Windows) after pairing the printer via the OS Bluetooth settings. Mutually exclusive with host and the USB fields.