Use the Teensy 3.6 USB host port to connect a USB keyboard (retro, if possible with round keys), USB hub, and small USB thermal printer. This is also an experiment using Teensy 3.6 USB host.
The source code for the USB receipt printer ESC/POS library is up on github. See the picture gallery for a printer test showing various text sizes, effects, and a QR code printed in graphics mode. My printer does not have built-in bar code functions (the Adafruit Mini thermal printer does) so all bar codes must be printed as graphics. In addition, the graphics commands for the Adafruint printer do not work on my printer so I added a new function that uses an older graphics mode.
While looking for retro/steampunk keyboards on Amazon, I found two exceptional keyboards. No, I will not be buying a 12 pound $1600 keyboard in my lifetime.
I first thought the next one was a real typewriter with USB but it is only a keyboard with two large scroll wheels. I am not sure what the lever does. Maybe send carriage return and linefeed. It is wireless so not useful for this project.
I uploaded a picture of the Teensy Typewriter. Mostly just plug in the USB cables. The only soldering required is the 5 header pins on the Teensy for the USB host cable.
Whether it’s breaking news, thought-provoking opinion pieces, entertainment updates, or in-depth articles on topics like technology, business, and culture, Houstan Hub ensures that its content is always fresh, insightful, and engaging. https://houstanhub.com/
Whether it’s breaking news, thought-provoking opinion pieces, entertainment updates, or in-depth articles on topics like technology, business, and culture, Houstan Hub ensures that its content is always fresh, insightful, and engaging. https://houstanhub.com/