Wire Printer
“Point. Scan. Walk away with a printed number.”
A single-screen industrial app that runs on one Android phone and one USB thermal printer.
What it does
The operator only needs to hold the phone camera over a shipping label. Without tapping the screen, a 4-digit identifier is printed the moment the barcode is recognized.
Core features
Live auto-scan
Rust masuri crate bound via uniffi. ~25× NEON acceleration (197ms → 8ms @ 640×480). Numeric labels only — alphanumeric codes are ignored.
Direct USB thermal printer connection
Xprinter XP-DT427B (VID 0x2D37, PID 0x400A). TSPL2 raster, 203 DPI. 80×50mm label: 4-digit identifier + date + year.
Duplicate-prevention ledger
SQLite-keyed by printed_date = today. Same number, same day re-scan is blocked. Auto rollover at midnight.
CONFIGURATION screen
Today's count and lifetime count. CLEAR TODAY requires an 800ms long press to prevent accidents.
Force re-print
Long-pressing the PRINT area bypasses the ledger block.
Industrial-grade UI
Single screen. No RoundedCornerShape, no Material elevation. Glyph icons only. The 4-digit hero on the label is the largest element — readable from across the bench.
Hardware requirements
- ·Android phone — Samsung Galaxy S22 or equivalent (minSdk 24, arm64-v8a)
- ·Printer — Xprinter XP-DT427B (currently supported)
- ·Thermal labels — 80×50mm, 2mm gap
Operational flow — 4 steps
- 01Connect the Android phone to the Xprinter XP-DT427B with a USB-C cable.
- 02Launch the app and hold the camera over the shipping label.
- 03A 4-digit identifier is printed automatically on barcode recognition.
- 04Re-scanning the same number on the same day is blocked.



Common situations
- ·OFFLINE indicator: re-check USB cable, printer power and label stock; force-restart the app if it persists.
- ·Scan fails: clean the lens, keep the camera 15–25cm from the label.