niimprint
niimprint copied to clipboard
Python library for Niimbot label printers. Supports D11/B21/B1 via bluetooth or USB.
transcription of my problems setting up the printer: just got a hand on such a printer, and tried your fork, but ATM it won´t do... i have a png file...
I'm testing the code and after set to print one tag my tag is clean in the last spacke nex to border from tag, in this case i'm testing this...
When I try to print any image, the the printer just prints an empty label with nothing printed on it. Printing from the app works correctly - so it's not...
- **Linters** currently includes only Ruff, but can be easily amended to add linters as needed (maybe mypy, markdown lint, etc). - **Test** performs a basic installation of the package...
This PR installs a script named `niimprint`. This script runs the same code as running `python3 -m niimprint` (`__main__.py`). ~~The PR also changes pyproject.toml to add support for python versions...
I apologize if I could have gone a different way about confirming this. I was able to successfully print with bluetooth. believe it or not, I cannot find an actual...
First, thanks a lot for your work! I recently bought a B21 and .. well, want to make it more complicated than simply installing an app! I noticed the same...
I'm using niimbot b1, the source image is 320x480px in size. As per photo, it seems like only the top third of print area is used. The label size is...
It's a much more convenient and extensible way to add information about new printers and the various nuances of printing. This PR replaces #5.
As a quality of life update, we can detect printer model and connection address automatically. For USB initial guessing can be done with vendor/product ID, then using a `0x40` (GET_INFO)...