-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
D11_H Bug when printing - unpack requires a buffer of 4 bytes. #8
Comments
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) ? |
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. |
Same error with D110-M 2024 on mac os 15.0 |
According to the thread mentioned by @fraro , to solve the problem for D110-M 2024 and D11_H is to modify the line 7 of NiimPrintX/NiimPrintX/ui/AppConfig.py : |
Thanks for your answer, I tried to change the line, but sadly with the same result. I don't have to compile anything, right? Just relaunch the UI app? |
As the code is 100% Python, no compilation is needed.
If it does not work with a '_', try with a dash instead '-'. |
Thank you for your answer! I tried your change, then the application won't start at all with error in terminal "KeyError: 'd110'". I guess "d110" is the default at load, so I added underneath it the block for "d110_m". Then it starts, I can choose "D110_M", printer connects. Printing still doesn't work, but now sometimes "unpack requires a buffer of 4 bytes." or new: no error is shown. Just after some timeout (60s or so) the message "disconnected" pops up, Status at the bottom of the main window remains green "connected". I also tried with "d110-m", but then the printer can't be found/connected after startup. Can I output some kind of log to give you further details? |
I confirm d110 is the default to load: |
Sadly still "unpack requires a buffer of 4 bytes." after some timeout when I click print. Connects to printer, everything seems fine, but the printer just moves out an empty label and the error appears on screen. |
So, the new Niimbot printer 300 dpi feature requires more advanced knowledge of how this application works. @labbots definitely needs a new 300 dpi Niimbot printer 🙂 |
I've the D11_H version with 300dpi and when I print I get the error message:
unpack requires a buffer of 4 bytes.
Print output is then just a empty label with nothing printed on it.
The text was updated successfully, but these errors were encountered: