

822: Receipt Printer with JavaScript
Sep 16, 2024
Wes reveals his innovative Hack Week project: a thermal printer that uses JavaScript to print real-time error logs from Sentry.io. The hosts dive deep into the complexities of the ESC/POS protocol and the challenges of managing socket connections. They discuss the fun of building a photo-text app and how integrating QR codes can enhance user experience. With a mix of technical insights and humor, they encourage exploring creative projects that spark innovation and personal growth in web development.
AI Snips
Chapters
Transcript
Episode notes
Backwards R
- Wes's childhood curiosity about receipt printers, specifically a backwards "R" on a Toys"R"Us receipt, sparked a lifelong interest in their mechanics.
- This led to his Hack Week project: a JavaScript-controlled thermal printer displaying Sentry errors.
Hardware and Software
- Wes enjoys exploring how everyday hardware interacts with software.
- He aims to control a vending machine with JavaScript, highlighting the potential of standards in diverse technologies.
Receipt Printer Mechanics
- Receipt printers largely operate on a common standard (ESCPOS), enabling interoperability.
- They use heat-sensitive thermal paper (containing BPA), eliminating the need for ink.