thermal_printer 패키지는 Android, iOS, Windows 등 여러 플랫폼에서 열식 프린터에 ESC/POS 명령을 전송할 수 있는 Flutter 플러그인입니다. 블루투스, BLE, TCP, USB 등의 다양한 연결 방식을 지원하여 다양한 환경에서 영수증, 라벨, 송장 인쇄에 적합합니다. 이 플러그인은 저수준 통신 프로토콜을 추상화함으로써 하드웨어 프린터와의 통합을 간소화합니다. 특히 포인트 오브 세일 시스템, 재고 관리, 모바일 인쇄 애플리케이션에 유용합니다.
사용 사례
POS 시스템에서 영수증 인쇄
재고용 라벨 인쇄
블루투스를 통한 모바일 인쇄
현장에서의 송장 발행
크로스 플랫폼 인쇄 솔루션
주요 기능
Android, iOS 및 Windows를 지원합니다
다중 연결 인터페이스: 블루투스, BLE, TCP, USB
직접 ESC/POS 명령 전송
Flutter 앱과의 간편한 통합
크로스 플랫폼 호환성
적합한 대상
소매 및 환대 앱
재고 및 물류 소프트웨어
모바일 판매점 시스템
맞춤 인쇄 솔루션
크로스 플랫폼 인쇄 기능을 구축하는 개발자
고려 사항
호환되는 열식 프린터가 필요합니다
프린터 고유의 ESC/POS 명령 지식이 필요합니다
Android/iOS에서 블루투스 권한이 필요합니다
USB 연결은 추가 설정이 필요할 수 있습니다
네트워크 프린터에 필요한 TCP/IP 구성
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
thermal_printer
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>