npm.io
1.1.0 • Published 7 years ago

react-native-printer-qr

Licence
ISC
Version
1.1.0
Deps
4
Size
24.8 MB
Vulns
0
Weekly
0
Stars
4

react-native-printer

A React Native Library to support USB/BLE/Net printer for Android platform

Installation

npm install react-native-printer-qr --save-dev

Integrate module

To integrate react-native-printer-qr with the rest of your react app just execute:

react-native link react-native-printer-qr

Usage

import { ReactNativePrinter } from 'react-native-printer';

ReactNativePrinter.print('192.168.31.242', 9100, '<CB>这是一个标题</CB>')