안드로이드, iOS 및 윈도우에서 블루투스, BLE, TCP 및 USB 인터페이스를 통해 다양한 프린터에 ESC/POS 명령을 사용하여 크로스 플랫폼 인쇄를 가능하게 하는 플러터 플러그인입니다. 소매, 환대 및 판매점 시스템의 영수증 프린터에 적합한 원시 프린터 명령을 전송하기 위한 통합 API를 제공합니다. 플러그인은 플랫폼별 구현을 추상화하여 다양한 장치와 운영 체제 간의 통합을 단순화합니다.
사용 사례
POS 시스템에서 영수증 인쇄
블루투스 또는 USB를 통한 모바일 인쇄
크로스 플랫폼 인쇄 애플리케이션
소매 및 레스토랑 주문 처리
TCP/IP를 통한 원격 인쇄
주요 기능
다양한 플랫폼(안드로이드, 아이오스, 윈도우)을 지원합니다
ESC/POS 명령 전송 처리
블루투스, BLE, TCP 및 USB와 호환
플랫폼 간 통합 API
가볍고 효율적
적합한 대상
POS 앱을 개발하는 개발자
다기기 인쇄가 필요한 기업
신뢰할 수 있는 영수증 인쇄가 필요한 응용 프로그램
크로스 플랫폼 모바일 솔루션
ESC/POS 프린터와 함께 작업하는 하드웨어 통합 엔지니어
고려 사항
호환되는 ESC/POS 프린터가 필요합니다
플랫폼별 설정이 필요할 수 있습니다
ESC/POS 명령 세트로 제한
블루투스 페어링은 수동으로 처리해야 합니다
내장된 인쇄 미리보기 또는 서식 도구 없음
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
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>