mamon-aburawi

A lightweight Kotlin Multiplatform (KMP) library for ESC/POS thermal receipt printers. Supports USB/TCP connections, Android & Desktop (JVM) targets, and seamless Jetpack Compose UI capturing, this library have been tested with xprinter xp-80c

12
0
100% credibility
Found Apr 05, 2026 at 12 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Kotlin
AI Summary

A multiplatform tool and demo app for connecting to thermal receipt printers to print formatted text, barcodes, QR codes, and captured screens from Android devices or desktops.

How It Works

1
πŸ” Find the printer app

You discover a simple app that makes your thermal receipt printer easy to use from your phone or computer.

2
πŸ“± Open the app

Launch the app and see a clean screen ready to manage your printer.

3
πŸ”„ Scan for printers

Tap the refresh button to automatically find any connected printers nearby.

4
πŸ”Œ Connect your printer

Pick your printer from the list and tap connect – it links up smoothly and shows a green connected badge.

5
🧾 Print a test receipt

Hit the test print button to send a sample receipt and watch it come out perfectly formatted.

6
πŸ“„ Design and capture receipts

Build your receipt layout right in the app preview, capture it, and print high-quality images, barcodes, or even QR codes.

πŸŽ‰ Perfect prints every time

Your printer now handles receipts effortlessly, saving you time and looking professional.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 12 to 12 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is Printer-KMP?

Printer-KMP is a lightweight Kotlin Multiplatform library for sending ESC/POS commands to thermal receipt printers like the Xprinter XP-80C. It handles USB and TCP connections on Android and Desktop (JVM) targets, with reactive status monitoring and automatic printer scanning. Developers get a fluent API to build receipts, generate barcodes/QR codes, and capture Jetpack Compose UIs directly as printer-ready images.

Why is it gaining traction?

Unlike heavyweight alternatives or platform-specific hacks, it offers cross-platform consistency with auto-reconnect, error flows for offline detection, and off-screen Compose capturing for complex layouts without manual rasterization. The TCP/USB abstraction and built-in hardware commands (text styling, cuts, beeps) cut setup time for POS apps. Early adopters praise the KMP printer support in a Kotlin lightweight framework space.

Who should use this?

Android POS developers integrating thermal printers for retail receipts, KMP teams building multiplatform inventory apps, or Compose users needing UI-to-print flows for orders/parking tickets. Ideal for xprinter owners handling USB scanning or TCP networks in compose capturing workflows.

Verdict

Grab it if you're in the lightweight KMP printer nicheβ€”solid for prototypes, with clear docs and a runnable demo app. At 12 stars and 1.0% credibility, it's immature (light test coverage), so expect tweaks for production; star it to boost momentum.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.