Taking Back a Niimbot Label Printer
The NIIMBOT D110_M is a nice little thermal label printer.
It is also designed to inspect the roll of blank paper placed inside it and decide whether that paper is authorized.
Replacing the official application with an open browser client solved only half of the problem. The printer firmware still enforced the consumables DRM.
A printer which speaks Bluetooth
I started using the D110_M (modelId: 2320) in March 2025.
It is a compact 203 dpi direct-thermal printer with a 12 mm printhead.
The unit reported hardware version 4.01 (0x0401) and stock firmware 4.10 (0x040a).
I did not need NIIMBOT’s application to print.
NiimBlue, written by MultiMote, is an open-source browser client built on a reverse-engineered protocol library (niimbluelib).
It can connect over Bluetooth or USB, edit and preview labels, import data and keep saved designs in the browser.
My ordinary labels were 40 × 12 mm (T12*40-160).
I exported the presets and saved designs, so the useful state no longer lived only inside a vendor application.
On Linux, I first had to connect the printer through the operating system’s Bluetooth settings before the browser exposed a usable device. That was a small inconvenience compared with having a local application whose behavior I could inspect.
Self-hosting needs HTTPS
I packaged a pinned revision of NiimBlue (616510a3) with Nix (pkgs.buildNpmPackage) and hosted its built dist/ files on my own server.
Serving a JavaScript application is easy.
Serving one which talks to Bluetooth has an extra condition: browsers expose Web Bluetooth only in a secure context.
For a non-localhost origin, that means HTTPS.
An ordinary http://label.test site on the LAN could load perfectly and still lack navigator.bluetooth.
My NixOS configuration therefore served NiimBlue through Nginx at https://label.test with forceSSL = true and a locally trusted certificate stored in agenix.
The printer UI was now reproducible infrastructure under my control.
I had packaged it locally shortly before Matthew Croughan added niimblue to Nixpkgs in May 2026.
The printer itself still had an opinion about my paper.
Blank labels with credentials
Official NIIMBOT rolls carry an RFID sticker right on the core, printed with “Invalid if torn.”
The tag identifies the roll and tracks capacity (allPaper, usedPaper, serialNumber, barCode and uuid).
The printer firmware reads it (paperRfidSuccess) before printing.
This is distinct from the region check in NIIMBOT’s application ecosystem.
Third-party software can ignore a server-side rule about where a serial number may be used.
It cannot make stock D110_M firmware stop rejecting a missing or invalid paper tag.
NiimBlue’s documentation is explicit about this. The application does not pretend to bypass restrictions it cannot bypass. On affected firmware, using arbitrary labels requires a tag trick, a hardware modification or patched firmware.
There is something particularly irritating about DRM on blank paper. The consumable contains no licensed media and no safety-critical calibration. It is adhesive paper cut to a size. The RFID system turns that physical compatibility into an authorization question. I had already run into the same pattern in the NFC-tagged filters for a Xiaomi air purifier.
Firmware 4.28
In May 2026 I grabbed MultiMote’s patched D110_M_4.28_MMote.bin image from the community firmware archive for the exact D110_M model.
The exact model matters: a D110 and a D110_M are not interchangeable merely because the names and cases look similar.
The image was not a clean-room rewrite of the printer firmware. As the archive describes it, it is NIIMBOT’s original 4.28 image with a very small patch, plus the matching header and checksum changes. So it is patched stock firmware rather than alternative firmware.
NiimBlue provides the flashing path itself:
- Connect the printer, preferably over USB.
- Select the firmware file for the exact model and major version.
- Start the burn and leave the browser tab in the foreground.
- Do not interrupt power or communication while the flash is being written.
The risks are real.
The wrong model, an incompatible major version or an interrupted write can brick the printer.
My unit was already in the version-4 family, moving from 4.10 to the patched 4.28.
I flashed it on 31 May 2026.
It just worked.
The printer still runs firmware 4.28 and prints through my local NiimBlue installation without requiring authorized label rolls.
Two layers of control
This project needed two different escapes because the restrictions lived at two different layers.
NiimBlue replaced the official application, account-facing workflow and region-aware service with a local protocol client. The patched firmware removed enforcement which happened inside the printer after the open client had already sent a valid print job.
An open application cannot override firmware which refuses a consumable. Open firmware would still be unpleasant if every label had to be designed through a proprietary cloud application.
Now the printer is satisfyingly boring. I open a local web page, connect over Bluetooth, design a label and print it on compatible thermal paper.
That is what ownership should have looked like from the start.