0

UPDATED: Thermal Printer Library for Arduino

printer

A recent refresh to the Adafruit_Thermal printer library for Arduino brings a few important tidbits:

  • It’s no longer dependent on SoftwareSerial (though it can still be used if desired). This brings compatibility with more and newer boards such as the Arduino Due that have multiple hardware serial interfaces but no SoftwareSerial support.
  • Adjustments have been made for the most recent printer firmware, so features like inverse printing and barcodes have returned.
  • Extended character support. The latest printers provide quite a few international character sets and symbols in the upper ASCII range (characters 0x80-0xFF).

Existing sketches will need just a few lines updated, it’s not quite a drop-in replacement. See the examples included with the library for an explanation. This was necessary for adding hardware serial support.

Download the latest from Github.

A more recent printer datasheet is also available now, which may be helpful for looking up international character “code pages” and char values.


Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.

Join 7,500+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Fewer startups, and other collateral damage from the 2018 tariffs

Wearables — Light as a Worbla feather

Electronics — How to make your own magnetic field probe!

Biohacking — The State of DNA Analysis in Three Mindmaps

Python for Microcontrollers — One year of CircuitPython weeklies!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.