Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

niimprint-rs

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

Features

  • Print images to supported Niimbot label printers
  • USB serial transport
  • Bluetooth transport on Linux
  • Small CLI for testing and local printing workflows

Supported models

The current CLI includes support for:

  • B1
  • B18
  • B21
  • D11
  • D110

Usage

Add the crate to your project:

[dependencies]
niimprint-rs = "0.1.0"

The repository also includes a small CLI binary:

cargo run --bin niimprint -- --help

Example:

cargo run --bin niimprint -- \
  --model b21 \
  --conn usb \
  --addr /dev/ttyACM0 \
  --rotate 90 \
  --image label.png

License

MIT.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages