labbots / NiimPrintX

NiimPrintX is a Python library designed to seamlessly interface with NiimBot label printers via Bluetooth. This library supports a range of models including D11/B21/B1, D110, and B18.
GNU General Public License v3.0
81 stars 4 forks source link

D11_H Bug when printing - unpack requires a buffer of 4 bytes. #8

Open Adrian-Grimm opened 1 month ago

Adrian-Grimm commented 1 month ago

I've the D11_H version with 300dpi and when I print I get the error message:

image

unpack requires a buffer of 4 bytes.

Print output is then just a empty label with nothing printed on it.

fraro commented 4 days ago

Have you found a solution for this? I'm thinking about buying a D11_H, but using the original software is a no-go.

Did you try setting the dpi to 300 in the code (AppConfig.py) ? Where in the code does this error happen?

oeloo commented 3 days ago

I am also interested in buying a D11_H because it has 300dpi resolution. Thanks for sharing, this bug is stopping me from buying it. Hope it can be fixed.