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.
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!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Alibaba to invest $15b in tech, set up research labs around the world
Wearables — Hand beading mimicry
Electronics — Trigger happy oscilloscope?
Biohacking — Biohacking: Visioneer – AI Glasses to Assist the Visually Impaired
No comments yet.
Sorry, the comment form is closed at this time.