Skip to main content

CircuitPython library for controlling thermal printers.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

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


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

File details

Details for the file adafruit-circuitpython-thermal-printer-1.3.11.tar.gz.

File metadata

File hashes

Hashes for adafruit-circuitpython-thermal-printer-1.3.11.tar.gz
Algorithm Hash digest
SHA256 203e647e6b0008a42f9ba02dcce52d486a2cb7a7e76bbd9925f8e7db1be695ec
MD5 33b81a1b508ddb34f65ea28e63702cdc
BLAKE2b-256 96626929b89b3f88da24b035f2fe5ea7194051de42cfa7f8f4513d08b2eeb3d3

See more details on using hashes here.

Provenance

File details

Details for the file adafruit_circuitpython_thermal_printer-1.3.11-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_thermal_printer-1.3.11-py3-none-any.whl
Algorithm Hash digest
SHA256 03e8e2660c05adaf50c6ff740557107fca71dc79e4f8c402c0090eb3ceece529
MD5 37369caa087b4695a0066d0d221788c6
BLAKE2b-256 54edc979697d7088d107a62dddfdca21876d03fa3b88fc8af44951ac52f75360

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page