Repository navigation
Releases
Windows 1.5.0
USB LAN Printer Bridge for Windows 1.5.0
New: a network weighing scale. A Scale tab reads a serial/USB or network scale and publishes the weight on the LAN at GET /scale, with exact EU/US unit conversion (kg/g/lb/oz) and a canonical grams field. Any POS on the network reads it over Wi-Fi.
Self-test: 68/68 (includes the scale parser, the exact unit conversion and the /scale endpoint end to end).
SHA-256:
UsbLanPrinterBridge.exe c2a301f5534686eeb0ea552f472b9c939a3938849e357772552180f492546e7f
Android 1.4
USB LAN Printer Bridge for Android 1.4 (versionCode 6)
New: a network weighing scale. A Scale card reads a network scale over TCP and publishes the weight at GET /scale (port 8020), with exact EU/US unit conversion (kg/g/lb/oz) and a canonical grams field.
Verified: 55 desktop checks (scale parser, unit conversion, TCP reader + /scale end to end); builds and installs on hardware (Ulefone Armor 9). Not yet tested against a physical scale.
Signing certificate SHA-256 unchanged (29:DA:10:44…), so it upgrades an installed 1.x in place and licence ids stay valid.
SHA-256:
UsbLanPrinterBridge-android-1.4.apk c5cd529194e2c53aa19411b7fbab386dcf7c014b98c3b4863ba60463e93e46c9
Windows 1.4.1
One file, no installer. Windows 8, 8.1, 10 and 11, x86 and x64.
New in 1.4.1
The print log is a tab. Every job the bridge handled, with its time, sender, size, result and the ticket as it went to the printer, used to open in a separate window behind Ctrl+L. It is now the Print log tab at the bottom of the main window, beside Log, Printer actions and Device, with the job count in its title. Ctrl+L jumps to it.
Any bottom tab can be pulled out into its own window. Double-click a tab, drag it off the tab strip, or right-click it. The window carries on exactly where the tab was, so you can keep the orders on a second monitor, or the Device graphs beside the printer list. Close the window, or click Dock back, and the tab returns to its place. Windows left floating are reopened where they were at the next start.
Everything from 1.4.0 is included: the Device tab with event markers and telemetry, the battery and cooling cards, the ePOS device id with the copy links and certificate page, and the accordion sections.
Verified
Built from a fresh clone of the windows branch; the 65-check self-test passes. It pulls the Print log tab out, screenshots the window, checks that its place was saved, docks it back and checks the tab order.
SHA-256 of UsbLanPrinterBridge.exe:
d8fef237fcab9f197af56b039481638c86e536bf85589331cf3bc4771ad9279e
Windows 1.4.0
One file, no installer. Windows 8, 8.1, 10 and 11, x86 and x64.
New in 1.4.0
Device tab. Live cards for the PC the bridge runs on:
- Tiles and 60-second graphs for USB, Wi-Fi, Bluetooth, processor, RAM, GPU and temperatures. Each tile says whether its reading is live, a best effort, or not available on this PC. Hover a graph for the values at that moment.
- Every printer event is a marker on the same timeline: a ticket printed, a cut removed by NO CUT, a printer offline or not taking data, a failed job. A spike and the order that caused it line up.
- A battery card for laptops, with level and current graphs, that flips over to everything Windows reports: state, power, voltage, time remaining, design and full capacity, wear, cycle count.
- A cooling card: fans to maximum, or a CPU cap, for a set number of minutes. Windows has no fan API, so this sets the power plan's cooling policy and processor maximum with
powercfg, and restores the plan when the timer ends, on Stop, and when the app closes. - All of it is written to
logs\telemetry-YYYYMMDD.csv, one row every 5 seconds, kept 14 days, with a button to clear the logs.
ePOS device id and links. The id a POS app names in the ePOS URL is set per printer (local_printer by default, or a name such as kitchen); any other id gets DeviceNotFound, as a real printer answers. Copy ePOS link copies the full URL with ?devid=, and Copy certificate link copies https://<address>/cert, the page a client device opens once to trust the bridge's HTTPS certificate. That page also offers the .cer file for a permanent install.
Fold and reorder. Every card on the Device tab, and every block inside a card, is an accordion section: click its heading to fold it (a one-line summary stays visible), drag its ≡ grip to move it. The settings rows of the main window fold away too. Folds and order are saved.
Verified
Built from a fresh clone of the windows branch; the 65-check self-test passes, including a print with the right and the wrong device id, the certificate page and download, a device sample with its telemetry row, and folding, reordering and saving the sections.
SHA-256 of UsbLanPrinterBridge.exe:
b9476b15d0886e076563caec6f85fbcb530ed9575fc798327ca6504aaed203ed
Android 1.3
One APK for every device: Android 5.0 and newer, all CPU types. Sideloading needs "Install unknown apps" allowed. It is signed with the same key as earlier releases, so it installs over them and existing licence keys keep working.
New in 1.3
ePOS over HTTPS. A POS page served over https cannot call an http address, so the phone now serves ePOS on https port 8443 as well as http 8080. The certificate is self-signed, made by the phone for its own addresses. Each client device trusts it once: Copy certificate link copies https://<phone address>:8443/cert; open it on the client, accept the warning, and the page confirms the device trusts the bridge and offers the .cer for a permanent install.
ePOS device id. The endpoint answers the id you set (local_printer by default, or a name such as kitchen) and replies DeviceNotFound to any other, as a real printer does. The header shows both links with ?devid= filled in, and Copy ePOS link copies one ready to paste. A change applies at once.
Clearer logs when a client gets it wrong. A client that speaks HTTPS to the http port is named, with the port to use instead. A client that speaks plain http to the https port is pointed at the certificate page. A request that never completes is logged with its request line.
Device, Battery and Cool-down cards.
- Tiles and 60-second graphs for USB, Wi-Fi, Bluetooth, processor, RAM and temperatures, with a touch tooltip. Each tile says how the reading was obtained: Android hides system CPU load from apps, so the processor tile shows the cores' clock and is marked as an estimate; GPU load is not available to apps at all.
- Every printer event is marked on the same timeline and listed with its time.
- A battery card with level and current graphs that flips over to everything Android reports.
- A cool-down timer. Android lets no app slow the CPU, so the bridge throttles itself: normal Wi-Fi lock, discovery paused, Print-menu pages rendered at 100 dpi, slower sensor reads. Prints still go through.
- Everything is logged to
telemetry-YYYYMMDD.csvin the app's files folder, one row every 5 seconds, kept 14 days, with Share and Clear buttons.
Fold and reorder. Every card, and every block inside the Device and Battery cards, is an accordion section: tap its heading to fold it (a one-line summary stays in the heading), drag its ≡ grip to move it. Folds and order are remembered.
Verified
Built from a fresh clone of the android branch. Desktop checks pass: 24 for the status responder, 93 for the core including a real TLS handshake against the phone's certificate builder, and 21 that run the ePOS server over http and https.
On a real phone (Ulefone Armor 9E, Android 10): the cards, folding and dragging, a cool-down started and stopped, and from a PC against the phone: the certificate page and download over https, a ticket printed over https to an Epson TM on the LAN, DeviceNotFound for another id, and the log naming a client that used the wrong scheme. The CPU thermal zone is not readable on that phone, so its temperature graph shows the battery sensor only.
Not yet tested: the certificate page opened from a phone or tablet browser, and printing through the USB-OTG, Bluetooth and Sunmi routes.
SHA-256 of UsbLanPrinterBridge-android.apk:
6e1c20dabec4d6a06df7281181f1bb35689c3136058916f1bce78f610c892800
Windows 1.3.0
USB LAN Printer Bridge for Windows 1.3.0
NO CUT, per printer. Tick No cut on a printer's row and every cutter command (GS V in all forms, ESC i, ESC m) is removed from every job to that printer, raw 9100 and ePOS alike, whatever the POS app or driver asked for. Each cut becomes a short feed so the paper reaches the tear bar. The switch is read on every write, so it applies to a job already streaming, and it is saved at once. Also via F8, the ON/OFF-for-selected buttons, a tray submenu that lists every printer, or --no-cut.
Printer actions tab. Beside the log: each ticket rendered as it went to the printer, line by line; what each job contained (init, lines of text, images, QR, barcodes, drawer, cut); jobs that are not ESC/POS at all; cuts removed; queries answered on the printer's behalf; ePOS elements skipped; spooler errors explained; and what Windows reports about the printer (offline, paper out, cover open, paused, jobs stuck), checked after every job and every five seconds. Written to logs\printer-actions-YYYYMMDD.log too.
Fixes. The Print log window shows the ticket line by line. Remove now removes every selected row, stopping running bridges first after one confirmation; the Delete key does the same.
Self-tests: 60 checks, all passing, run from a fresh clone of this branch.
SHA-256 UsbLanPrinterBridge.exe: 121817B547F5B7866FC06A2C9487FBD05550311DF052CDC90B3AB8AA13B90501
Single file, no installer. Windows 8 and later.
Android 1.2.1
USB LAN Printer Bridge for Android 1.2.1
A small follow-up to 1.2, published a few hours later:
- The status refresh that runs every two seconds now only touches a label or a background whose content actually changed. 1.2 re-set everything each time, which kept the screen busy for no reason.
- Verified on a real phone (Android 10) since 1.2 shipped: the app starts sharing from its screen, forwards a test receipt and a raw ticket sent from a PC to an Epson TM printer on the Wi-Fi, and NO CUT works on that path: the log names the
GS V 66 0removed and the four-line feed sent instead. Android lists the print service and it offered its printer to the Print menu. The README's "tested" table says exactly what has and has not been tried.
Everything else is as in 1.2: the new card-based screen, the NO CUT emergency switch, the last tickets shown as they went to the printer, the print service, the footer and licence key.
SHA-256 UsbLanPrinterBridge-android.apk: 6529EA1B2F25D88D5C4CCDF2963030E4AE8ACE8DB8A135DB7C58789B720F6D97
Android 1.2
USB LAN Printer Bridge for Android 1.2
New screen. Cards on a light background: a blue header with the address to type into POS software (tap to copy), the ePOS URL and a live status pill; one big Start/Stop sharing button; route chips (USB, Built-in, Bluetooth, Network) that show only the chosen route's controls; the last tickets with tap-to-view; a hideable log. Framework widgets only, no AndroidX, still one APK for every CPU and Android 5.0 and newer.
NO CUT. A red emergency switch: every cutter command is removed from every ticket on every route and replaced by a four-line feed so the paper reaches the tear bar. Read on every write, so it applies to the next bytes printed; saved, so it survives a reboot. Image and QR payloads are parsed, not pattern-matched, so a logo whose bytes spell a cut is left alone.
Tickets as they went to the printer. The Last tickets card lists recent jobs; tap one to see it line by line, with markers for images, barcodes, QR codes, the drawer pulse and the cut.
Also in this release, from 1.1 (previously unpublished): the app is an Android print service, so every app's Print menu lists the phone's printers and pages print as they look on screen; other bridges on the Wi-Fi are found over DNS-SD; a ticket footer with an offline, device-bound licence key.
Desktop self-tests: 24 responder checks and 53 core checks, all passing, built from a fresh clone of this branch. Installed and started on a real phone (Android 10); the printing routes are still as listed in the README's "tested" table.
SHA-256 UsbLanPrinterBridge-android.apk: 1C07BDA958FF92FF381AF22810C99BBB070DA394CD1D6AEFBE1FD2C7A3590D73
Windows 1.2.3
Windows app, version 1.2.3. One exe for Windows 8, 8.1, 10 and 11, with nothing to install.
Download UsbLanPrinterBridge.exe and run it, or take the zip, which adds the README and licence.
Fixed in this version
- Changing a mapping's printer now takes effect. Pointing an existing row at a different printer and restarting it used to keep sending every job to the old printer while the grid showed the new one. The bridge now rebuilds the print target on start and logs the switch.
- Editing a running row explains itself. The grid used to silently refuse the edit; it now says to stop the bridge first.
- Phone hotspots work. On an iPhone hotspot, which uses the small 172.20.10.0/28 subnet, the suggested address could fall outside the network, leaving the bridge silently unreachable. Suggestions now respect the real subnet size, and an address no adapter can carry is refused with a working alternative named.
Checksums (SHA-256)
1e838675261a098c04d9ef93ccdae7f6b963e1a03a971a0b26b5ab37257ca00f UsbLanPrinterBridge.exe
6abf505c5718a1ef78d9a536f41de2e12011f61388eb65918d46d2a12c74aead UsbLanPrinterBridge-windows-1.2.3.zip
Built from the windows branch at this tag, where all 49 self-tests pass. Windows SmartScreen may warn the first time because the exe is not code-signed; choose More info → Run anyway.
Android 1.0
Android app, version 1.0. One APK for Android 5.0 and newer on every CPU type; it contains no native code.
Install by opening UsbLanPrinterBridge-android-1.0.apk on the device. Android asks you to allow installs from your browser or file manager the first time.
What it does
Turns the phone, tablet or POS terminal into a Wi-Fi print server:
- Raw / JetDirect on port 9100, which POS apps can use from an IP address alone.
- Epson ePOS-Print emulation on port 8080. Android does not let an ordinary app use port 80, so clients must include the port.
- Four printer routes: USB over OTG, a Sunmi-style built-in printer, a paired Bluetooth printer, or forwarding to a printer already on the network, with a subnet scan to find one.
Tested so far
The app, its foreground service and both listeners run on a real phone, and the protocol responder passes 24 checks against bytes captured from a real Epson TM-T20II. Printing through the Sunmi, Bluetooth and USB-OTG routes has not yet been run on real hardware. Press Detect printers first; it reports whether the route was found. Reports are welcome.
About the signature
This APK is signed with a development key, not a release key, so Play Protect may warn when installing it. If a later version is signed with a different key, Android will ask you to uninstall this one first.
Checksum (SHA-256)
2964866c5ca32c630615885dc7fc4cb435fb3180567b1f95555ae1e33bd884f9 UsbLanPrinterBridge-android-1.0.apk
Built from the android branch at this tag.