blue_thermal_printer
블루투스를 통해 열식 프린터에 연결하기 위한 플러터 플러그인
블루투스를 통한 열식 프린터 사용 (Flutter)
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A new Flutter plugin for connecting to thermal printer via bluetooth (Android Only), this plugin is still under development Note: Migrate your project to AndroidX
| Android | iOS | MacOS | Web | Linux | Windows |
|---|---|---|---|---|---|
| ✔️ | ️X | ️X | ️X | ️X | ️X |
Add this to your package's pubspec.yaml file:
dependencies:
blue_thermal_printer: ^any
You can install packages from the command line:
with Flutter:
$ flutter packages get
Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:blue_thermal_printer/blue_thermal_printer.dart';
EXAMPLE:
For detail demonstration please look at example folder
Note: make sure to upgrade your project to compileSdkVersion 31 or above
If you like my content, please consider buying me a coffee. Thank you for your support!
bagi yang dari Indonesia bisa lewat saweria berikut
https://saweria.co/kakzaki