搜索插件、代码仓与 APP 分类

插件详情v2.2.4

another_brother

一个用于 Brother 标签和 TypeB 打印机打印的 Flutter 插件。

AndroidiOS
近 30 天下载
1810
喜欢数
24
Pub 分数
110

安装插件

flutter pub add another_brother

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Another_Brother 是一个 Flutter 插件,可实现 Android 和 iOS 设备与 Brother 标签打印机和 TypeB 打印机之间的无缝打印。它提供了一个简单的接口来发送打印任务,支持与兼容的 Brother 硬件直接通信。适用于需要随时随地打印标签的应用程序,例如物流、零售或库存管理。该插件可通过 pub.dev 轻松集成到 Flutter 项目中,并通过其开源实现利用原生平台功能。

适合场景

  • 物流中的标签打印
  • 零售库存标签
  • 现场文档标注
  • 条形码生成和打印
  • 移动仓库操作

主要特点

  • 支持兄弟标签和TypeB打印机
  • 跨平台(Android 和 iOS)
  • 打印作业的简单 API
  • 开源,带有 GitHub 仓库
  • 直接设备通信

适合对象

  • 需要标签打印的移动应用
  • 使用兄弟打印机的企业
  • 开发现场服务工具的开发者
  • 库存和资产追踪应用
  • 物流和供应链解决方案

使用建议

  • 需要兼容的兄弟打印机型号
  • 仅限特定打印机类型(TypeB 和标签)
  • 可能需要为网络打印机进行额外配置
  • 依赖原生平台权限
  • 应验证打印机固件的兼容性

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

another_brother

Another Bother SDK library for Flutter. For full demo app see Another-Brother-Demo-Prime https://github.com/CodeMinion/Demo-Another-Brother-Prime

Android Support

  • Bluetooth/BLE
  • WiFi
  • USB

iOS Support

  • Bluetooth/BLE
  • WiFi

Android Min SDK

  • Requires minSdkVersion 19

iOS Info.plist

Add the following to your Info.plist

	<!-- Another Brother Section -->
	<key>NSLocalNetworkUsageDescription</key>
        <string>Looking for local tcp Bonjour service</string>
        <key>NSBonjourServices</key>
        <array>
        	<string>_ipp._tcp</string>
        	<string>_printer._tcp</string>
        	<string>_pdl-datastream._tcp</string>
        </array>
        <key>UIBackgroundModes</key>
        <array>
        	<string>fetch</string>
        	<string>remote-notifications</string>
        </array>
        <key>NSBluetoothAlwaysUsageDescription</key>
    	<string>Need BLE permission</string>
    	<key>NSBluetoothPeripheralUsageDescription</key>
    	<string>Need BLE permission</string>
    	<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
    	<string>Need Location permission</string>
    	<key>NSLocationAlwaysUsageDescription</key>
    	<string>Need Location permission</string>
    	<key>NSLocationWhenInUseUsageDescription</key>
    	<string>Need Location permission</string>
    	<key>UISupportedExternalAccessoryProtocols</key>
    	<array>
    		<string>com.brother.ptcbp</string>
    		<!-- Only needed if working with TypeB printer. IMPORTANT: If planning to release to the Apple store don't use it as it will lead to a rejection -->
    		<string>com.issc.datapath</string>
    	</array>
    	<!-- End Another Brother Section -->

On your Runner make sure to mark: Allow non-modular includes as yes. Also make sure to mark the libBROTHERSDK.a as belonging to another_brother in xCode: https://www.youtube.com/watch?v=42dBVdXU8gk

iOS Setup Video: https://www.youtube.com/watch?v=AcFnd-6hSew

Publishing to the Apple Store

When submitting your application to the Apple store you'll need to obtain a PPID from Brother. This can be achieved by making a request here: https://secure6.brother.co.jp/mfi/Top.aspx

Without it you'll likely receive a rejection message along the lines of:

App has not been authorized by the accessory manufacturer to work with the MFi accessory

Apps Built with another_brother

Have an app built using another_brother let me know and I will add it here!

  • Easy Menu: https://www.youtube.com/watch?v=xy9qYo03pOQ
  • QR Storage: https://play.google.com/store/apps/details?id=com.rouninlabs.qrstorage
  • Speed Dater: https://youtu.be/z4jxO9HWze8
  • 4.events: https://play.google.com/store/apps/details?id=com.fourevents.app
  • PoachMe.dev: https://poachme.dev/#/devLand?reqCode=SAVETIME&
  • OkosHACCP: https://play.google.com/store/apps/details?id=hu.okoshaccp.operator built by https://wunderbytes.eu/
  • ARMS Mobile: https://apps.apple.com/us/app/arms-mobile/id1615127530

Brother Hackathon

Feel free to use any of my GitHub repositories in your apps. You should also consider attending the free Brother Hackathon happening this year. You get a free Brother QL-1110NWB, a PT-P910BT, and possibly an awesome DS-940DW mobile scanner. Visit brotherhackathon.com for more information. I will be teaching workshops, and they are free. You can ask me any questions. Thank you.

所属分类

依赖

依赖清单 2 项

源码仓库

使用此插件的项目

暂无相关数据。