Skip to content

papermint

High-performance, type-safe thermal receipt printing. Multi-vendor, driverless USB, CJK-aware, and blazingly fast in Rust, Node.js & Mobile.

⚡ Microsecond Encoding

Zero-allocation hot paths and pure Rust performance. Format 50-item restaurant receipts with barcodes and logos in ~10 microseconds.

📐 Typographic Precision

Built on Unicode East Asian Width (UAX #11). Asian characters (CJK), emojis, and Latin letters align to the exact monospace dot without table distortion.

🖨️ Multi-Vendor Dialects

Epson ESC/POS and StarPRNT Line Mode out of the box. Build your receipt once, print across Epson, Star, Bixolon, Citizen, and generic printers.

🔌 Driverless Transports

Print over Async TCP (Port 9100), pure user-space driverless USB (nusb), RS-232 serial, or Bluetooth Classic (SPP) without vendor drivers or sudo.

📱 Mobile & Cloud Ecosystem

First-class Node.js/TypeScript N-API bindings, lightweight HTTP REST print daemon (papermintd), and C-ABI for Expo SDK 56+ Inline Modules.

🛡️ Hardware Protection

Automatic 960-dot image chunking to prevent volatile thermal RAM overflows, plus Floyd-Steinberg and Atkinson dithering algorithms.