Build a Home Assistant add-on that shares any printer over AirPrint

A Redditor who is still learning to code built an AirPrint bridge add-on for Home Assistant in one long day with Claude, so an old Canon laser printer shows up on iPhones with the right paper size.

Done withClaudeinHome AssistantGitHub· Nov 4, 2026

What they did

The poster's Canon LBP6030w laser printer has Wi-Fi but no AirPrint. For years an old Mac mini shared it to their iPhone, until that Mac became their Home Assistant box. With Claude as pair programmer they built AirPrint Bridge, a Home Assistant add-on written as Bash glue around CUPS, Avahi and ippeveprinter. It finds the printer on the network, reads the model, installs a free driver for common brands, and puts an AirPrint front end in front of CUPS that tells iOS exactly which paper is loaded. It also exposes printer status, toner level and page count as Home Assistant sensors. They published it on GitHub under MIT and asked for testers.

How it went

It took one very long day. Getting iOS to stop offering A4 and A5 paper, which made the printer blink out of paper, was most of the work. It runs on the poster's own printer over Wi-Fi, and their partner now prints returns labels from an iPhone. It has been tested on that one printer only: USB, Raspberry Pi and the automatic drivers for other brands are untested.

Worth knowing

The top comments were hostile: one linked an existing Home Assistant AirPrint add-on and others objected to the post saying they built it. The poster replied that the existing add-ons share straight from CUPS and kept the wrong paper sizes on iOS. Canon's Linux driver cannot be bundled, so users paste its link themselves. The post does not say which Claude product was used.

Try it

With Claude· 5 parts to fill in

Help me build a [Home Assistant add-on or small Docker service] that makes my [printer model], which has [Wi-Fi or USB] but no AirPrint, appear as a native AirPrint printer on [iPhone, iPad and Mac]. First check whether an existing project already does this and tell me why it would or would not fix my problem, which is [the symptom, e.g. iOS offers the wrong paper size]. If we build it, keep it to plain shell around CUPS and an AirPrint front end, and report the paper actually loaded. Stop after each stage so I can test a real print before you continue.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related