flutter_thermal_printer_plus 0.0.2 copy "flutter_thermal_printer_plus: ^0.0.2" to clipboard
flutter_thermal_printer_plus: ^0.0.2 copied to clipboard

A comprehensive thermal printer plugin supporting 58mm, 72mm, 80mm, and 110mm paper sizes with Bluetooth, WiFi, and USB connectivity.

Flutter Thermal Printer Plus #

A comprehensive Flutter plugin for thermal printing supporting 58mm, 72mm, 80mm, and 110mm paper sizes with Bluetooth, WiFi, and USB connectivity.

Features #

  • Support for multiple paper sizes (58mm, 72mm, 80mm, 110mm)
  • Bluetooth connectivity
  • WiFi connectivity
  • USB connectivity (Android only)
  • Easy-to-use builder pattern for creating receipts
  • ESC/POS command optimization for each paper size

Installation #

Add this to your package's pubspec.yaml file:

flutter_thermal_printer_plus: any

Usage #

import 'package:flutter_thermal_printer_plus/flutter_thermal_printer_plus.dart';

// Scan for Bluetooth printers final printers = await FlutterThermalPrinterPlus.scanBluetoothDevices();

// Connect to a printer await FlutterThermalPrinterPlus.connectBluetooth(printer.address);

// Create and print a receipt final builder = PrintBuilder(PaperSize.mm80) ..text('Hello World!', align: AlignPos.center) ..line() ..cut();

await FlutterThermalPrinter.print(builder);

Platform Support #

Platform Bluetooth WiFi USB
Android
iOS

Paper Sizes #

  • 58mm: 384 dots width, 32 characters
  • 72mm: 512 dots width, 42 characters
  • 80mm: 576 dots width, 48 characters
  • 110mm: 832 dots width, 69 characters

License #

MIT License

1
likes
150
points
156
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive thermal printer plugin supporting 58mm, 72mm, 80mm, and 110mm paper sizes with Bluetooth, WiFi, and USB connectivity.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, image, plugin_platform_interface

More

Packages that depend on flutter_thermal_printer_plus

Packages that implement flutter_thermal_printer_plus