esc_pos_printer 1.1.0 esc_pos_printer: ^1.1.0 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.1.0
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';