CircuitPython library for controlling thermal printers.
Project description
Introduction
CircuitPython module for control of various small serial thermal printers.
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.
Installing from PyPI
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:
pip3 install adafruit-circuitpython-thermal_printer
To install system-wide (this may be required in some cases):
sudo pip3 install adafruit-circuitpython-thermal_printer
To install in a virtual environment in your current project:
mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-thermal_printer
Usage Example
See examples/thermal_printer_simpletest.py for a demo of basic printer usage.
Documentation
API documentation for this library can be found on Read the Docs.
For information on building library documentation, please check out this guide.
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for adafruit-circuitpython-thermal-printer-1.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2806b0fe5666e98f1aa1f12b3d36940b2beaf86d050f81fc45b5fa7a7e132ba4 |
|
MD5 | f2e221167d6ea8e8d8a8437e7ffa8c3a |
|
BLAKE2b-256 | 4d0da2c8953f3c5160f99412203c6f586cc7b8796693b4a0cd270325616757e6 |
Hashes for adafruit_circuitpython_thermal_printer-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a95e204c7014aa21f43c587bc4e6e78afec1dee53719f061838e42d7f30e447 |
|
MD5 | 2ba9e580242727f61c560244a378e8c7 |
|
BLAKE2b-256 | 03b1a43430793b1756e1bfa4b1b427a5b303c4fb3fbca4d3b58cc63908f28332 |