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
Package selection guidance compiled from public package information, community data, and project usage.
A Flutter plugin enabling cross-platform printing via ESC/POS commands to various printers using Bluetooth, BLE, TCP, and USB interfaces on Android, iOS, and Windows. It provides a unified API for sending raw printer commands, making it ideal for receipt printers in retail, hospitality, and point-of-sale systems. The plugin abstracts platform-specific implementations, simplifying integration across different devices and operating systems.
Hardware integrators working with ESC/POS printers
Considerations
Requires compatible ESC/POS printers
Platform-specific setup may be needed
Limited to ESC/POS command set
Bluetooth pairing must be handled manually
No built-in print preview or formatting tools
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
flutter_pos_printer_platform
Notice: This library was initially forked from arthas1888 in order to use it in a flutter project that use both image v4 and image v3 dart libraries. And since then, the library received many bug fixes after the original library was discontinued.
A library to discover printers, and send printer commands.
This library allows to print esc commands to printers in different platforms such as android, ios, windows and different interfaces as Bluetooth and BLE, USB and Wifi/Ethernet
error:'State restoration of CBCentralManager is only allowed for applications that have specified the "bluetooth-central" background mode'
info.plist add:
<key>NSBluetoothAlwaysUsageDescription</key>
<string>Allow App use bluetooth?</string><key>NSBluetoothPeripheralUsageDescription</key><string>Allow App use bluetooth?</string><key>UIBackgroundModes</key><array><string>bluetooth-central</string><string>bluetooth-peripheral</string></array>