We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. When I try to configure printer with command brother_ql.backends.helpers.configure(printerid, None, "get", "auto-power-on")
brother_ql.backends.helpers.configure(printerid, None, "get", "auto-power-on")
I get following error:
command = b"\x1b\x69\x55" + setting.to_bytes(1) + b"\x01" TypeError: to_bytes() missing required argument 'byteorder' (pos 2)
I think "big" is required as second argument setting.to_bytes(1, "big")
setting.to_bytes(1, "big")
The text was updated successfully, but these errors were encountered:
to_bytes() did not have a default endianness until python 3.11, I've included the fix in a pull request.
to_bytes()
Sorry, something went wrong.
@matmair This is fixed in #74
No branches or pull requests
Hi.
When I try to configure printer with command
brother_ql.backends.helpers.configure(printerid, None, "get", "auto-power-on")
I get following error:
I think "big" is required as second argument
setting.to_bytes(1, "big")
The text was updated successfully, but these errors were encountered: