Sunmi Printer programming guide detailing interfaces, AIDL usage, image printing, barcode support, black‑mark printing, and troubleshooting.
This document provides developers with a complete guide to integrate Sunmi's built‑in thermal printers. It covers three access methods – the in‑built print service interface, virtual Bluetooth device, and H5/JS bridge – and explains how to initialize the printer, set styles, and handle callbacks.
The guide also describes specific features such as black‑mark printing, label printing, and support for 1D/2D barcodes, along with detailed FAQ sections on paper specifications, resolution, and common error handling. This manual is written in Chinese.
| Paper width | 58 mm |
|---|---|
| Active print width | 48 mm |
| Active print pixels per line | 384 pixels |
| Resolution | 205 DPI |
| Image pixel limit | ≤ 2 MP, 58 mm: 384 px, 80 mm: 576 px |
The printer’s resolution is 205 DPI.
Sunmi printers support 58 mm and 80 mm width printing paper.