AndBondStyle / niimprint

Python library for Niimbot label printers. Supports D11/B21/B1 via bluetooth or USB.
MIT License
202 stars 29 forks source link

A few improvements #32

Open TheZoc opened 1 month ago

TheZoc commented 1 month ago

Hi @AndBondStyle :)

Here are the changes I made a few months ago. I'm happy to subdivide them into smaller PRs if you prefer, but I'm unable to do substantial changes due to time constraints on my side.

These were tested on my Niimbot B1 and seem to work well :)

Changes for this PR:

Please let me know if you want me to change something before merging

MultiMote commented 1 month ago

You can detect model by sending GetInfo packet. See this.

Also checked port serial numbers of my devices: