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.
The Engineer · Build desk
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.
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][4]. 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 [11].
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 [5][6]. 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 [7].
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 [8]. 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 [9]. 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 [10].
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 [14]. The repository ships Mehta's glue under MIT and fetches the proprietary binary from HP at install time [16]. 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 [15]. Worst-case cold start is therefore roughly sixty times the steady-state cost [17].
HP's paperwork is part of why this exists. The 1008a specifications page lists macOS versions through Sonoma as compatible [11], 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 [12].
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 [13] - 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 [14][16].
Clarity's read
What the record supports and how the coverage leans. The claims behind it follow.
Reality
- Evidence62
- Adoption
- Not scored
- Hype gap+25
- Incentives
- Not scored
- Confidence60
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.
- [2]
The resulting MIT-licensed repository turns printing into an ordinary Cmd-P workflow for HP's Laser 1003, 1006 and 1008 models.
- [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.
- [4]
The printer project began as a request to install a driver on a family Mac, rather than a planned software release.
- [5]
Claude Code initially detected the USB device, inspected the available CUPS drivers and installed a generic PCL configuration.
- [6]
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.
- [7]
Generic drivers left the device offline; the open-source foo2zjs encoder prompted the printer to produce 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 on Mehta's 1008a.
- [8]
The working path reused HP's rastertospl binary from its Unified Linux Driver; because that binary cannot run directly on macOS, the installer places it inside an ARM64 Linux container managed by Colima.
- [9]
A macOS CUPS queue converts application output into CUPS raster data and sends it to a local socket; a root LaunchDaemon receives the job, passes it through HP's codec and uses libusb to write the resulting SPL3 stream directly to the printer.
- [10]
The split bypasses two macOS restrictions Mehta encountered: CUPS filters cannot invoke the container from their sandbox, and the standard USB backend treated the printer as permanently offline. Moving both operations into a daemon outside the CUPS sandbox produced a clean test page.
- [11]
HP's Laser 1008a specifications page lists versions of macOS through Sonoma among compatible operating systems, yet HP's current driver-download page offers Linux and several Windows versions in its operating-system selector, with no macOS option.
- [12]
HP's 2023 product data sheet mentions AirPrint, though its footnotes restrict wireless and mobile printing to the 1008w; the 1008a has only USB connectivity, and Mehta's tests found no driverless IPP endpoint on that USB connection, leaving macOS 26 without a usable built-in path on his machine.
- [13]
According to Mehta, the repository has so far been tested only on Apple Silicon Macs running macOS 26; it supports the USB-only "a" models and "w" models connected by USB, and broader compatibility has not been established.
- [14]
Installation requires Homebrew and adds Colima, Docker and libusb, along with a small Linux VM that must remain available; it also installs a root LaunchDaemon and a login item to restart Colima after reboot, and the installer requests the Mac administrator password and downloads HP's Linux driver during setup.
- [15]
According to Mehta, a first print after reboot can wait up to a minute while the VM starts, jobs sent after the printer has powered down take around 10 to 15 seconds as the printer wakes and heats its fuser, and conversion and USB delivery take about one second once the system is running.
- [16]
The repository contains Mehta's glue code rather than HP's codec: the installer fetches the proprietary rastertospl binary from HP, while Mehta's components are published under the MIT license.
- [17]
Worst-case cold-start latency (up to 60 seconds) is about 60 times the steady-state conversion and delivery time of about 1 second.
Sources
2 independent publishers whose own reporting we read for this story.
- runtimewire.comA four-hour Claude Code session built a Mac bridge for HP's Laser 1008a
1 article · August 18, 2026
- tomshardware.comDev uses Claude AI to create native macOS driver for 'obscure' Windows-only printer — Linux container hack enables system-wide Cmd-P printing, driver now available on Github
1 article · August 19, 2026
Topics and entities
Topics
Entities
- Samsung Printer Language (SPL)
- Claude Opus 4.8
- Claude Code
- Anthropic
- HP