printer_service 2.0.3 copy "printer_service: ^2.0.3" to clipboard
printer_service: ^2.0.3 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. This is a forked project of thermal_printer

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add printer_service

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  printer_service: ^2.0.3

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:printer_service/discovery.dart';
import 'package:printer_service/esc_pos_utils_platform/esc_pos_utils_platform.dart';
import 'package:printer_service/esc_pos_utils_platform/src/barcode.dart';
import 'package:printer_service/esc_pos_utils_platform/src/capability_profile.dart';
import 'package:printer_service/esc_pos_utils_platform/src/commands.dart';
import 'package:printer_service/esc_pos_utils_platform/src/enums.dart';
import 'package:printer_service/esc_pos_utils_platform/src/generator.dart';
import 'package:printer_service/esc_pos_utils_platform/src/pos_column.dart';
import 'package:printer_service/esc_pos_utils_platform/src/pos_styles.dart';
import 'package:printer_service/esc_pos_utils_platform/src/qrcode.dart';
import 'package:printer_service/printer.dart';
import 'package:printer_service/thermal_printer.dart';
1
likes
120
points
78
downloads

Publisher

unverified uploader

Weekly Downloads

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. This is a forked project of thermal_printer

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dart_ping, enum_to_string, flutter, gbk_codec, hex, image, network_info_plus, ping_discover_network_forked, rxdart

More

Packages that depend on printer_service