AndBondStyle / niimprint

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

A few improvements #32

Open TheZoc opened 4 months ago

TheZoc commented 4 months 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 4 months ago

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

Also checked port serial numbers of my devices: