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.9.tar.gz.

File metadata

File hashes

Hashes for adafruit-circuitpython-thermal-printer-1.3.9.tar.gz
Algorithm Hash digest
SHA256 bad13e80f9c9e12567e18256e023a75cfd4573fff6c3122fe14eb02440e47fce
MD5 e6bc6a5b7d70d4e897123e2d5cd43b91
BLAKE2b-256 4b48e4f76a5af8a3b4bbba45a10f083d90489dbccf1b8063a5318acf25a79cde

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_thermal_printer-1.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 506712c6a9423be969839b1fdb460afcd2a20e7578ec3bcef325d0fda0d6d344
MD5 07f8a8546398b73f620f95267dd0f4d6
BLAKE2b-256 4d8a40837cee83f2f6c777c9ac8e1e5a17e4ea62a1caa18a15b5b765bb51f8ad

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