Skip to content
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

byteorder error #73

Open
itec78 opened this issue Nov 19, 2024 · 0 comments
Open

byteorder error #73

itec78 opened this issue Nov 19, 2024 · 0 comments

Comments

@itec78
Copy link

itec78 commented Nov 19, 2024

Hi.
When I try to configure printer with command
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")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant