This repository was archived by the owner on May 16, 2023. It is now read-only.
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.