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

Latest commit

 

History

History
17 lines (10 loc) · 283 Bytes

File metadata and controls

17 lines (10 loc) · 283 Bytes

Python-Thermal-Printer

Installation:

pip install Adafruit_Thermal

or:

python setup.py install

Usage:

>>> import Adafruit_Thermal
>>> printer = Adafruit_Thermal('/dev/ttyAMA0', 19200, timeout=5)
>>> printer.println('Hello World!')