niimprint-rs is a Rust client library for Niimbot label printers over USB or Bluetooth.
This project is a Rust port of the original Python library by AndBondStyle: https://github.com/AndBondStyle/niimprint
- Print images to supported Niimbot label printers
- USB serial transport
- Bluetooth transport on Linux
- Small CLI for testing and local printing workflows
The current CLI includes support for:
B1B18B21D11D110
Add the crate to your project:
[dependencies]
niimprint-rs = "0.1.0"The repository also includes a small CLI binary:
cargo run --bin niimprint -- --helpExample:
cargo run --bin niimprint -- \
--model b21 \
--conn usb \
--addr /dev/ttyACM0 \
--rotate 90 \
--image label.pngMIT.