esc_pos_printer_plus
0.1.1, released 2 years ago by marcus.brasizza.com
Print receipts via ESC/POS thermal WiFi/Ethernet printers
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.
- flutter_thermal_printer
Print via ESC/POS commands on thermal printers using Bluetooth, BLE, USB, or WiFi.
78Compare - sunmi_printer_plus
Connect to Sunmi printers, print text, barcodes, QR codes, images, and control cash drawers.
85Compare - unified_esc_pos_printer
Unified ESC/POS thermal printer package for USB, Bluetooth, BLE, and Network connections.
62Compare - bluetooth_print_plus
Flutter plugin for bluetooth thermal printers supporting Android, iOS, web, macOS, and Linux.
46Compare
Works with
Packages commonly used together with esc_pos_printer_plus: ones it builds on, ones built on it, and its own family.
- imageesc_pos_printer_plus depends on itPure Dart library to load, manipulate, encode, and decode various image formats.
- esc_pos_utils_plusesc_pos_printer_plus depends on itGenerate ESC/POS commands for thermal receipt printers.
- charset_converteresc_pos_printer_plus depends on itPlatform‑native charset encoder/decoder with no Dart dependencies