Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

1.4.0 - Allow printing using non-UTF-8 encodings

Latest
Compare
Choose a tag to compare
@tekktrik tekktrik released this 17 Jan 17:52
· 4 commits to main since this release
38c8659

print() now allows an optional encoding to be passed for printing non-UTF-8 encodings. Note that this does not work on microcontrollers running the CircuitPython firmware (which only support UTF-8 encoding), and only works on platforms such as Raspberry Pi and other SBCs utilizing Blinka. Thanks @mushunrek!

To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.

To use in CPython, pip3 install adafruit-circuitpython-thermal-printer.

Read the docs for info on how to use it.