Skip to content
pubscout

esc_pos_printer_plus

0.1.1, released 2 years ago by marcus.brasizza.com

Print receipts via ESC/POS thermal WiFi/Ethernet printers

$ flutter pub add esc_pos_printer_plus
Source repository

What it does

This package provides a NetworkPrinter class that connects to ESC/POS thermal printers over WiFi or Ethernet and sends print commands. It supports text, styles, images and basic printer control such as feed and cut.

AI-written summary of version 0.1.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to print receipts on a networked ESC/POS printer from a Flutter or Dart app
  • You prefer a simple imperative API without code generation
  • You are targeting Android, iOS, Windows, macOS or Linux

Skip it when

  • You need Bluetooth printing
  • You require advanced barcode or PDF417 support not yet implemented

Strengths

  • Cross‑platform network support
  • Simple imperative API
  • Built on top of esc_pos_utils_plus for styling

Weaknesses

  • No Bluetooth support
  • Limited feature set (no QR, PDF417, line spacing)
  • Very early version

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3
import 'package:esc_pos_printer_plus/esc_pos_printer_plus.dart';

const PaperSize paper = PaperSize.mm80;
final profile = await CapabilityProfile.load();
final printer = NetworkPrinter(paper, profile);

final res = await printer.connect('192.168.0.123', port: 9100);
if (res == PosPrintResult.success) {
  printer.text('Hello, world!');
  printer.cut();
  printer.disconnect();
}
print('Print result: ${res.msg}');

Alternatives

Packages that do the same job and could replace esc_pos_printer_plus.

Works with

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