Repository navigation
niimbot-java 1.0.0
Java driver for Niimbot label printers over Bluetooth Low Energy. It is a port of iscarelli/niimbot-web-bluetooth.
Requires Java 25.
Downloads
niimbot-java-1.0.0-all.jar: runnable CLI with the BLE native libraries for Windows, macOS and Linux included. Run it withjava -jar niimbot-java-1.0.0-all.jar print label.pngniimbot-java-1.0.0.jar: the library on its own. Your project also needsorg.simpleble:simplejavable:1.2.0
Highlights
- Supports B1, B1 Pro, B2 Pro, M2-H, D11_H, D110 and N1, and detects the model automatically
- A print job only returns once the printer confirms every page; otherwise it throws
PrintNotConfirmed - The bytes sent to the printer match the original JS driver exactly (golden tests)
examples/shows how to use the driver from an application: a shared connection, queued jobs, reconnecting after a drop, and drawing your own labels