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.
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.
- flutter_thermal_printer
Print via ESC/POS commands on thermal printers using Bluetooth, BLE, USB, or WiFi.
78Compare - health_connector_hc_android
Android implementation of the health_connector plugin using Health Connect SDK.
75Compare - print_bluetooth_thermal
Print tickets on 58mm/80mm thermal Bluetooth printers from Flutter apps.
80Compare - flutter_bluetooth_printer
Image-based printing for Bluetooth thermal printers on iOS and Android.
65Compare
Works with
Packages commonly used together with sunmi_printer_plus: ones it builds on, ones built on it, and its own family.