Ptouch Cube Print Bridge
Turn a Brother PT-P710BT (P-Touch Cube Plus) into a networked label printer: USB print bridge on a home server + web-app integration snippets
About This Project
ptouch-cube-print-bridge turns a Brother PT-P710BT (P-Touch Cube Plus) label printer, which is designed for Brother's Bluetooth mobile app, into a networked label printer. A small HTTP bridge runs on an always-on home server with the printer connected over USB. It exposes health, single-print, and batch-print endpoints, wraps the ptouch-print utility, scales incoming PNG labels to the loaded tape's printable height, and serialises jobs under a lock. Batch runs are sent as a single job to avoid repeated blank leader tape, and an optional keepalive reports printer reachability without interfering with active jobs. The repository includes a systemd unit, udev rules, and patches required for the PT-P710BT to work with ptouch-print.
On the web side, the project uses a client-side canvas renderer in TypeScript that generates QR codes, identifiers, and adaptively sized item names, so the on-screen preview matches the printed bitmap. A server-side proxy, shown in Nitro/h3 style with notes on porting to Express, forwards authenticated requests from an HTTPS application to the bridge over a VPN such as Tailscale or WireGuard, since browsers block direct mixed-content calls to plain HTTP endpoints. Documentation covers hardware behaviour, auto power-off handling via a KVM virtual machine with USB passthrough, and an evaluation of CUPS-based alternatives.
This project will be most useful to developers and self-hosters who run home inventory or other self-hosted web applications and want reliable one-click label printing from any device. It may also interest those working with USB-connected label printers on Linux headless hosts, or anyone who needs documentation of the device's quirks. The bridge has no built-in authentication and is intended only for trusted LAN or VPN use, with external access expected to go through the application's authenticated proxy.