flutter_thermal_printer
2.3.0, released 2 months ago by sunilflutter.in
Print via ESC/POS commands on thermal printers using Bluetooth, BLE, USB, or WiFi.
What it does
Allows Flutter apps to discover and connect to thermal printers via Bluetooth, BLE, USB, and WiFi. Supports sending raw ESC/POS data as well as rendering widgets directly to print.
AI-written summary of version 2.3.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to print receipts or labels on thermal printers from mobile or desktop.
- You want support for multiple connection types including Bluetooth, USB, and WiFi.
Skip it when
- You are printing standard documents (A4/Letter) to general office printers.
Strengths
- Supports multiple connection types across Android, iOS, macOS, and Windows.
- Provides built-in screenshot to printer widget conversion.
- Includes image cropping for long prints.
Weaknesses
- USB printing is not supported on iOS.
- Requires platform-specific configuration for permissions and drivers.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 7
Ensure Bluetooth permissions and configurations are set correctly for Android and iOS. Make sure you have the XPrinter driver installed on Windows.
final _flutterThermalPrinterPlugin = FlutterThermalPrinter.instance;
await FlutterThermalPrinter.instance.getPrinters(
connectionTypes: [ConnectionType.USB, ConnectionType.BLE, ConnectionType.NETWORK],
);Alternatives
Packages that do the same job and could replace flutter_thermal_printer.
- sunmi_printer_plus
Connect to Sunmi printers, print text, barcodes, QR codes, images, and control cash drawers.
85Compare - esc_pos_printer_plus
Print receipts via ESC/POS thermal WiFi/Ethernet printers
54Compare - bluetooth_print_plus
Flutter plugin for bluetooth thermal printers supporting Android, iOS, web, macOS, and Linux.
46Compare - unified_esc_pos_printer
Unified ESC/POS thermal printer package for USB, Bluetooth, BLE, and Network connections.
62Compare
Works with
Packages commonly used together with flutter_thermal_printer: ones it builds on, ones built on it, and its own family.
- ffiflutter_thermal_printer depends on itUtilities for working with Foreign Function Interface (FFI) code in Dart.
- win32flutter_thermal_printer depends on itCall common Windows APIs and COM objects directly from Dart using FFI.
- plugin_platform_interfaceflutter_thermal_printer depends on itReusable base class for platform interfaces of Flutter federated plugins.
- imageflutter_thermal_printer depends on itPure Dart library to load, manipulate, encode, and decode various image formats.
- screenshotflutter_thermal_printer depends on itCapture any widget as an image, including invisible widgets, at runtime.
- esc_pos_utils_plusflutter_thermal_printer depends on itGenerate ESC/POS commands for thermal receipt printers.
- universal_bleflutter_thermal_printer depends on itCross-platform Bluetooth Low Energy (BLE) plugin for Flutter