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
Thanks for building this. Printing in python2.7 works great. But in python3 the image printing did not output an image.
It seems the chr() function incorrectly encodes integers to bytes in python3.
chr()
Replacing the write_bytes function with the following works in python3:
write_bytes
def write_bytes(self, byte_array): msg = bytearray(byte_array) self.write(msg)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thanks for building this. Printing in python2.7 works great.
But in python3 the image printing did not output an image.
It seems the
chr()
function incorrectly encodes integers to bytes in python3.Replacing the
write_bytes
function with the following works in python3:The text was updated successfully, but these errors were encountered: