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

File metadata

File hashes

Hashes for adafruit-circuitpython-thermal-printer-1.3.12.tar.gz
Algorithm Hash digest
SHA256 5716c43c98a94c01167cdb96c827f02bb2ccdd8526748783c9fd2c215787cc26
MD5 f2519d70af1b87a10b79ddf989c8691a
BLAKE2b-256 020a495c14d6a0f271fffb834753e1610be253a4e6669ff97395a41f9e6bec2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_thermal_printer-1.3.12-py3-none-any.whl
Algorithm Hash digest
SHA256 7a64c538c41badf5c4103aec3e3904547fdf652c366f3e4b07a1b736327f734b
MD5 4abc43843242da7329692e48bbdddc19
BLAKE2b-256 b9327bc545f941cb113cbbe1aa3d1e5bce16719fa5b70ca32fb77b5e053c389b

See more details on using hashes here.

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