esc_pos_printer 1.4.1 esc_pos_printer: ^1.4.1 copied to clipboard
The library allows to print receipts using a ESC/POS (usually thermal) network printer. It can be used in Flutter or Dart projects. In Flutter, both Android and iOS are supported.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add esc_pos_printer
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
esc_pos_printer: ^1.4.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:esc_pos_printer/esc_pos_printer.dart';