Printr turns a Raspberry Pi and receipt printer into a 7AM family briefing

Raspberry Pi, receipt printer

This is the read-only HTML version. For the full Visual Space experience, open the app.

Epson, Raspberry Pi — Image

Epson, Raspberry Pi — Image

Credit: ImX99 r/raspberry_pi

Home automation, Rust

A Pi 3B and secondhand Epson print weather, riddles and sudoku on weekday mornings. Printr offers 55 configurable blocks, but its most useful engineering detail may be how it recovers from an open cover or empty paper roll without losing queued tickets.

❤️ 1

A family briefing doesn't have to live on a screen. Reddit user ImX99 shared Printr on r/raspberry_pi: a Raspberry Pi 3B paired with an Epson TM-T88V receipt printer bought on eBay, now producing a weekday ticket at 7AM. What began as a weekend build has become something the creator says the whole family uses daily.

The regular morning print combines weather, a riddle with its answer upside down, and a sudoku. Behind that modest strip of paper is a configurable publishing system—and some careful work to keep ordinary printer problems from becoming computer problems.

A phone builds the ticket; paper carries it

Printr's web app lets users assemble tickets from blocks, then print on demand or set a schedule. At the time of the post, ImX99 reported 55 blocks, ranging from weather pictograms and clothing suggestions to birthdays, bin-day reminders, shopping lists and photo notes.

The household features are more interesting than a long menu alone. Chores rotate between the children each week, which ImX99 says has reduced arguments. A shopping list can leave the phone behind entirely. One person in the discussion singled out that possibility as useful for a household where not everyone wants to interact with Home Assistant.

Printr also supports automatic Home Assistant discovery over MQTT. ImX99 gives a timestamped doorbell notice as an example of what an automation could print. That's a different role from the scheduled morning briefing: the printer becomes an output device for household events, not just a daily report.

The important fix happens when printing stops

Printr sends ESC/POS commands directly to /dev/usb/lp0, without CUPS or a separate printer-specific driver. It still relies on Linux's usblp kernel driver—a distinction that matters because that driver also supplies the status-checking method that made the setup more dependable.

ImX99 first tried the ESC/POS DLE EOT status commands. On this TM-T88V, opening the cover caused the printer to stop answering. According to the creator, an outstanding request could then lock up the USB connection until the printer was power-cycled.

The replacement uses the kernel driver's LPGETSTATUS ioctl. ImX99 reports that this USB control request avoids leaving a request pending and distinguishes an empty paper roll from an open cover. Tickets wait in a queue until the problem is fixed.

That is the detail worth borrowing from this build: handling an interrupted print is part of making a scheduled appliance useful. A successful test print proves the connection works; recovering after someone changes the roll is what lets the device fit into a daily routine.

Small graphics, checked puzzles

Text uses the printer's built-in fonts. Grids, weather icons, chess pieces and photos take another route: Printr renders them as 512-dot-wide raster images and dithers them for printing. ImX99 added Floyd–Steinberg, Atkinson and Bayer options because photos and line drawings called for different treatments.

The puzzle blocks involve work before anything reaches the printer, too. Printr generates puzzles locally, including sudoku, kakuro, takuzu and hashi, while the daily Lichess chess puzzle is a separate offering with its board drawn on the receipt.

For generated puzzles, ImX99 describes a solver-based uniqueness check. If two solutions remain, the generator exposes a digit where they differ, then checks again. The creator says making this fast enough for the Pi required several rewrites. It’s a useful distinction: producing a grid and producing a puzzle with one answer are separate jobs.

The application is one Rust binary, with no database or Python required. Most blocks run locally or use free APIs that need no key; external-data blocks still depend on their services. Optional Claude-backed blocks include bedtime stories and meal ideas based on fridge contents. ImX99 reports that caching keeps their usage to a few cents a month, rather than making that a guaranteed cost for every installation.

Before putting one on the counter

The Apache-2.0 project code and documentation with printed block examples give other builders a starting point. Only the TM-T88V has been tested by the creator. Requests for Bluetooth and impact-printer support are not compatibility confirmations; ImX99 is collecting results through GitHub Discussions.

The discussion also prompted a consumables update. After concerns about thermal-paper coatings, ImX99 added a paper-selection note and recommends looking for phenol-free, BPA- and BPS-free 80 mm rolls, rather than relying on a BPA-free label alone.

Other ideas remain just that. A fellow builder described using chore tickets with QR codes to track pocket money in a separate project; ImX99 welcomed the idea but didn't report implementing it. Fortune and cowsay output went onto the creator's list as well.

For anyone adapting Printr, the first useful test isn't all 55 blocks. It's one ticket the household actually wants, followed by an empty-roll and open-cover test. The appeal is the printed puzzle or reminder; the lasting value is having it arrive without someone needing to nurse the printer back to life.

Written by the Visual Space editorial team.

Source: My Pi prints a little receipt for the family every morning: weather, puzzles, chores, bedtime stories

Hardware

3 Followers

A workshop for electronics and physical computing. Share circuits, boards, tools and prototypes; work through measurement and debugging, compare components, and document the choices that turn an idea into working hardware.

Visual Space is built for projects like this—where creators collaborate, organize goals, and grow communities around real work.