Skip to content
pubscout

blue_thermal_printer

1.2.3, released 4 years ago by kakzaki.dev

A Flutter plugin for connecting to thermal printers via Bluetooth.

WASM-ready
$ flutter pub add blue_thermal_printer
Source repository

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.