Skip to content

niimbot-java 1.0.0

Choose a tag to compare

@thiagodemoura thiagodemoura released this 13 Oct 13:33
· 2 commits to main since this release

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 with java -jar niimbot-java-1.0.0-all.jar print label.png
  • niimbot-java-1.0.0.jar: the library on its own. Your project also needs org.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