network_pos_printer 1.1.8 network_pos_printer: ^1.1.8 copied to clipboard
A library to send texts silently (with simple styles like underline, bold, justification, etc.) to a network ESC/POS printer (usually thermal)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add network_pos_printer
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
network_pos_printer: ^1.1.8
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:network_pos_printer/network_pos_printer.dart';