Skip to content
pubscout

sunmi_printer_plus

4.2.0, released 3 weeks ago by marcus.brasizza.com

Connect to Sunmi printers, print text, barcodes, QR codes, images, and control cash drawers.

WASM-readyRock solid
$ flutter pub add sunmi_printer_plus
Source repository

What it does

Supports interacting with Sunmi Android devices to print text, custom styles, barcodes, QR codes, and images. It also provides control over the cash drawer, LCD screen functions, and device status checks.

AI-written summary of version 4.2.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Building an Android application specifically targeted at Sunmi POS hardware
  • You need to print receipts, barcodes, and QR codes using built-in Sunmi printers

Skip it when

  • Targeting iOS, web, or desktop platforms (Android only)
  • Using non-Sunmi thermal printers without ESC/POS compatibility wrappers

Strengths

  • Comprehensive coverage of Sunmi inner printer features
  • Supports LCD display functions and cash drawer management
  • Allows combining custom ESC/POS commands

Weaknesses

  • Works only on Android devices
  • Label printer features still lack extensive testing devices

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
1

Works only on Android. Add the dependency to pubspec.yaml and use on supported Sunmi hardware.

await SunmiPrinter.printText('Simple raw text');
await SunmiPrinter.printText('Bold text centered',
    style: SunmiTextStyle(
    bold: true,
    align: SunmiPrintAlign.CENTER,
    ));
await SunmiPrinter.lineWrap(2);

Alternatives

Packages that do the same job and could replace sunmi_printer_plus.

Works with

Packages commonly used together with sunmi_printer_plus: ones it builds on, ones built on it, and its own family.