@thermal-label/brother-ql-core
v0.3.0
Published
Protocol encoding, device registry, and media registry for Brother QL label printers
Maintainers
Readme
@thermal-label/brother-ql-core
Protocol encoding, device registry, and media registry for Brother QL label printers.
Consumers rarely import this package directly — use
@thermal-label/brother-ql-node(Node.js) or@thermal-label/brother-ql-web(browser) instead. This package is for porting or advanced use cases.
Key Exports
encodeJob(pages, options?)— encode a complete print job to aUint8Arraybyte streamDEVICES— registry of all supported Brother QL devicesMEDIA— registry of all supported label mediafindDevice(vid, pid)— look up a device descriptor by USB VID+PIDfindMedia(id)— look up a media descriptor by IDrenderText,renderImage— re-exported from@mbtech-nl/bitmap
Requirements
- Node.js
>=24.0.0 - Runs in browser and Node.js — no Node.js built-ins used
License
MIT © Mannes Brak
