【问题标题】:Bluetooth Printing in React NativeReact Native 中的蓝牙打印
【发布时间】:2017-12-31 05:47:40
【问题描述】:

是否可以在 react native 中通过蓝牙连接到热敏收据打印机?如果是,如何通过蓝牙连接收据打印机?

【问题讨论】:

    标签: reactjs react-native printing bluetooth native


    【解决方案1】:

    是的,可以通过蓝牙将 React Native 应用程序连接到打印机。 名为react-native-ble-plx 的包允许您这样做。阅读他们的文档Github.io

    【讨论】:

      【解决方案2】:

      你也可以试试react-native-ble-manager:Full source code can be found here。

      【讨论】:

        【解决方案3】:

        如果您使用 Star 打印机,我会使用这个库: https://github.com/infoxicator/react-native-star-prnt

        【讨论】:

          猜你喜欢
          • 2018-05-29
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2012-04-07
          • 1970-01-01
          • 2011-07-05
          • 1970-01-01
          • 2012-12-16
          相关资源
          最近更新 更多