#serial #embedded-hal-driver #embedded-hal #serial-port

no-std thermal_printer

High level API for interacting with CSN-A2 thermal printer

3 unstable releases

0.1.1 Dec 21, 2018
0.1.0 Dec 21, 2018
0.0.2 May 1, 2017
0.0.1 May 1, 2017

#1748 in Hardware support

Apache-2.0

8KB
89 lines

Build Status

This library provides a simple high level API for interacting with thermal printers like those you can get from Sparkfun or Adafruit. It is written to be no-std compatible but simply needs a serial port and so will work equally well on linux or other operating systems via the serial crate.

WIP

Many pieces of functionality are not yet supported. In the future this crate aims to support the full range of functions these printers provide including:

  • Loading and printing bitmap images
  • Bar codes
  • Custom characters
  • Multiple character sets
  • Reading printer status

And many more! PR's are welcome.

Examples

See the examples folder.

License

Licensed under the Apache License, Version 2.0 (LICENSE)

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

Dependencies

~71KB