Skip to content
pubscout

flutter_esc_pos_network

1.0.3, released 3 years ago by lithos.in

Print receipts via ESC/POS over Wi‑Fi/Ethernet printers

Copyleft license
$ flutter pub add flutter_esc_pos_network
Source repository

What it does

This package provides a simple API to connect to ESC/POS thermal printers over a network and send print jobs. It supports Android, iOS, Windows, Linux and macOS.

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

Use it when

  • You need to print receipts from a networked thermal printer
  • Your project is Flutter or pure Dart and you want a cross‑platform solution
  • You prefer a lightweight dependency without Bluetooth support

Skip it when

  • You are printing to a Bluetooth printer (use esc_pos_bluetooth)
  • You need advanced barcode or PDF‑417 support not yet implemented

Strengths

  • Cross‑platform support (Android, iOS, Windows, Linux, macOS)
  • Simple imperative API
  • Built on flutter_esc_pos_utils for styling and ticket generation

Weaknesses

  • No Bluetooth support
  • Limited to network printers listening on port 9100
  • Feature set is basic compared to full ESC/POS command coverage

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
import 'package:flutter_esc_pos_network/flutter_esc_pos_network.dart';
final printer = PrinterNetworkManager('192.168.1.100');
PosPrintResult connect = await printer.connect();
if (connect == PosPrintResult.success) {
  await printer.printTicket(ticket);
  printer.disconnect();
}

Alternatives

Packages that do the same job and could replace flutter_esc_pos_network.

Works with

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