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.
A more recent printer datasheet is also available now, which may be helpful for looking up international character “code pages” and char values.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Maker Business — How Intel Makes a Chip
Wearables — Go magnetic
Electronics — LED colors: what they tell you
Biohacking — Brainding – Circuit Bending Using an EEG
No comments yet.
Sorry, the comment form is closed at this time.