blue_thermal_printer
1.2.3, released 4 years ago by kakzaki.dev
A Flutter plugin for connecting to thermal printers via Bluetooth.
What it does
Allows Flutter applications to discover, connect to, and print text, images, columns, and QR codes on Bluetooth thermal printers. It provides APIs to handle device connections, printer streams, and specific formatting methods like 3 or 4-column layouts.
AI-written summary of version 1.2.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to connect to a Bluetooth thermal printer from an Android app.
- You want to print receipts, columns, images, or QR codes via a thermal printer.
Skip it when
- You need robust cross-platform printer support beyond Android (such as iOS or web, as platform support is primarily focused on Android).
- You are using a non-Bluetooth network or USB printer.
Strengths
- Provides helper methods for printing formatted text, columns, images, and QR codes.
- Includes support for checking connected devices and bluetooth states.
Weaknesses
- Platform support is limited mainly to Android despite metadata notes, with the README explicitly stating Android Only.
- Still under development.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 0
Migrate your project to AndroidX and upgrade to compileSdkVersion 31 or above. Ensure necessary Bluetooth permissions are handled (such as Android 12 permissions).
import 'package:blue_thermal_printer/blue_thermal_printer.dart';
BlueThermalPrinter bluetooth = BlueThermalPrinter.instance;Alternatives
Packages that do the same job and could replace blue_thermal_printer.
- flutter_classic_bluetooth
Bluetooth Classic RFCOMM/SPP serial communication plugin for Flutter.
83Compare - flutter_blue_plus
Flutter plugin for connecting to Bluetooth Low Energy devices.
90Compare - flutter_bluetooth_printer
Image-based printing for Bluetooth thermal printers on iOS and Android.
65Compare - unified_esc_pos_printer
Unified ESC/POS thermal printer package for USB, Bluetooth, BLE, and Network connections.
62Compare