Published · 4d agoBuild3 min read
An agent shipped the HP printer driver HP would not: four hours, and a root daemon to maintain
Claude Code got an HP Laser 1008a printing from an Apple Silicon Mac in about four hours. The MIT-licensed result works, and it leaves someone holding a root daemon and an always-on Linux VM.
Written for builders.See today for builders

What happened
- Kuber Mehta used Anthropic's Claude Code to make an HP Laser 1008a print from an Apple Silicon Mac, completing the first working version during a roughly four-hour session on August 17th.
- The resulting MIT-licensed repository turns printing into an ordinary Cmd-P workflow for HP's Laser 1003, 1006 and 1008 models.
- The underlying plumbing consists of a CUPS queue, a root daemon, an always-on Linux virtual machine, HP's proprietary raster encoder and direct USB writes.
- The printer project began as a request to install a driver on a family Mac, rather than a planned software release.
- Claude Code initially detected the USB device, inspected the available CUPS drivers and installed a generic PCL configuration.
Compiled by The EngineerSomething wrong?How this is made
Why it matters
Kuber Mehta asked Claude Code to install a printer driver on a family Mac, and roughly four hours later, on August 17th, had a working path from Cmd-P to an HP Laser 1003, 1006 or 1008 on Apple Silicon [1][2][6]. The interesting part is not the printer. It is that an agent closed a driver-layer gap that HP's own current driver-download page does not offer to close, since that selector lists Linux and several Windows versions and no macOS option at all [14].
The obvious approach failed first, which is the useful detail. Claude Code detected the USB device, inspected the available CUPS drivers and installed a generic PCL configuration, which stalled because the 1008a is Samsung-derived hardware that speaks Samsung Printer Language and expects the host to generate a device-specific raster stream [8][9]. Generic drivers left the device offline; the open-source foo2zjs encoder made the printer emit an error page asking for the proper driver; SpliX 2.0.2, which recently added support for related HP Laser models, produced striped, repeated pages [10].
The path that worked reuses HP's own `rastertospl` binary from its Unified Linux Driver, which cannot run on macOS, so the installer puts it inside an ARM64 Linux container managed by Colima [11]. A macOS CUPS queue converts application output to CUPS raster and hands it to a local socket; a root LaunchDaemon takes the job, runs it through HP's codec and writes the SPL3 stream to the printer with libusb [12]. That split exists because CUPS filters cannot invoke the container from their sandbox and the standard USB backend treated the printer as permanently offline; moving both operations outside the sandbox produced a clean test page [13].
So the agent did the hard part, and the hard part left a residue. Installation requires Homebrew and adds Colima, Docker and libusb plus a small Linux VM that must stay available, a root LaunchDaemon, and a login item to restart Colima after reboot, with the installer asking for the admin password and downloading HP's Linux driver during setup [17]. The repository ships Mehta's glue under MIT and fetches the proprietary binary from HP at install time [18]. That is the ownership question in one line: the licence covers the part that is easy to fork, and the runtime depends on a vendor download the project does not control.
The performance profile is honest about the machinery. Conversion and USB delivery take about a second once everything is running, a first print after reboot can wait up to a minute for the VM to start, and a job to a powered-down printer takes 10 to 15 seconds while the fuser heats, according to Mehta [19]. Worst-case cold start is therefore roughly sixty times the steady-state cost [20].
HP's paperwork is part of why this exists. The 1008a specifications page lists macOS versions through Sonoma as compatible [14], the 2023 data sheet mentions AirPrint but restricts wireless and mobile printing to the 1008w in its footnotes, and Mehta found no driverless IPP endpoint on the USB-only model, leaving macOS 26 with no usable built-in path on his machine [15].
Watch the test matrix and the fetch step. The project has only been exercised on Apple Silicon Macs running macOS 26, on "a" models and "w" models over USB, with broader compatibility unestablished [16] - and every future macOS release, Colima change, or move of HP's Linux driver download lands on a maintainer, not on a vendor support queue [17][18].
Claim ledger
Ranked by verification strength, evidence, and original report placement.
- [1]
Kuber Mehta used Anthropic's Claude Code to make an HP Laser 1008a print from an Apple Silicon Mac, completing the first working version during a roughly four-hour session on August 17th.
ReportedView cited source - [2]
The resulting MIT-licensed repository turns printing into an ordinary Cmd-P workflow for HP's Laser 1003, 1006 and 1008 models.
ReportedView cited source - [3]
The underlying plumbing consists of a CUPS queue, a root daemon, an always-on Linux virtual machine, HP's proprietary raster encoder and direct USB writes.
ReportedView cited source - [6]
The printer project began as a request to install a driver on a family Mac, rather than a planned software release.
ReportedView cited source - [8]
Claude Code initially detected the USB device, inspected the available CUPS drivers and installed a generic PCL configuration.
ReportedView cited source - [9]
That configuration stalled because the Laser 1008a uses Samsung Printer Language (SPL) instead of PCL or PostScript; the printer is based on Samsung hardware and requires the host computer to generate a device-specific raster stream.
ReportedView cited source
Sources & coverage · 2 publishers
The reporting this story was synthesized from, earliest first. Every link goes to the original.
- runtimewire.comRyan Merket4d agoA four-hour Claude Code session built a Mac bridge for HP's Laser 1008a

