Skip to content
pubscout

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.

$ flutter pub add flutter_thermal_printer
Source repository

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.

Works with

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