Sunmi Printer Programming Manual

Sunmi Printer programming guide detailing interfaces, AIDL usage, image printing, barcode support, black‑mark printing, and troubleshooting.


Sunmi Printer Programming Manual - cover page
Brand
Sunmi
Category
Printer
Document type
Programming Manual
Language
Chinese
Pages
67
File format
PDF
File size
1.7 MB
Published
03 October, 2026
Updated
03 October, 2026
MD5 checksum
55A839F99E19DA36B2BAC08B73C43ACC

About this manual

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.

What's inside

  • Introduction
  • Inbuilt Print Service Interface
  • Integration and Initialization
  • AIDL Interface Definitions
  • Print Style Settings
  • Black Mark Printing
  • Image and Barcode Printing
  • Virtual Bluetooth Printing
  • JS Bridge Printing
  • FAQ and Paper Specifications

Specifications

Paper width58 mm
Active print width48 mm
Active print pixels per line384 pixels
Resolution205 DPI
Image pixel limit≤ 2 MP, 58 mm: 384 px, 80 mm: 576 px

Frequently asked questions

What is the printer resolution?

The printer’s resolution is 205 DPI.

What paper sizes are supported?

Sunmi printers support 58 mm and 80 mm width printing paper.

Download PDF (1.7 MB)