Giter Site home page Giter Site logo

thermal_printer's Introduction

Bluetooth Low Energy
Thermal Printer Library
Copyright (c) 2020 BitBank Software, Inc.
Written by Larry Bank
[email protected]

printer demo


This Arduino library allows you to easily generate text and graphics and send them to a BLE thermal printer. Since there are many different BLE APIs depending on the board manufacturer, I decided to support the more popular ones - ESP32 and Arduino (Nano BLE 33). The two main features of thermal printers are supported by this code - plain text and dot addressable graphics. The graphics are treated like a display driver. You define a buffer and draw text, dots, lines and bitmaps into it, then send it to the printer. Text output supports the various font size+attribute options of the printer. See the include (.H) file for a description of each function.

Features
========
- Supports the GOOJPRT PT-210 printer (so far) and PeriPage!
- Compiles on ESP32, Adafruit nRF52 and Arduino Nano 33 BLE
- Supports graphics (dots, lines, text, bitmaps) and plain text output
- Includes easy to use BLE scanning and connection logic
- Doesn't depend on any other 3rd party code

If you find this code useful, please consider sending a donation.

paypal

thermal_printer's People

Contributors

bitbank2 avatar filoconnesso avatar gianpy86 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.