Syntax - Tasty Web Development Treats

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.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

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.
INSIGHT

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.
INSIGHT

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.
Get the Snipd Podcast app to discover more snips from this episode
Get the app