thermal_printer_plus 1.0.11
thermal_printer_plus: ^1.0.11 copied to clipboard
A flutter plugin that prints esc commands to printers in different platforms such as android, ios, windows and different interfaces Bluetooth and BLE, TCP and USB
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add thermal_printer_plus
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
thermal_printer_plus: ^1.0.11
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:thermal_printer_plus/discovery.dart';
import 'package:thermal_printer_plus/esc_pos_utils_platform/esc_pos_utils_platform.dart';
import 'package:thermal_printer_plus/esc_pos_utils_platform/src/barcode.dart';
import 'package:thermal_printer_plus/esc_pos_utils_platform/src/capability_profile.dart';
import 'package:thermal_printer_plus/esc_pos_utils_platform/src/commands.dart';
import 'package:thermal_printer_plus/esc_pos_utils_platform/src/enums.dart';
import 'package:thermal_printer_plus/esc_pos_utils_platform/src/generator.dart';
import 'package:thermal_printer_plus/esc_pos_utils_platform/src/pos_column.dart';
import 'package:thermal_printer_plus/esc_pos_utils_platform/src/pos_styles.dart';
import 'package:thermal_printer_plus/esc_pos_utils_platform/src/qrcode.dart';
import 'package:thermal_printer_plus/printer.dart';
import 'package:thermal_printer_plus/thermal_printer.dart';