react-native-printer-qr
Version:
A React Native Library to support USB/BLE/Net printer for Android platform
29 lines (16 loc) • 503 B
Markdown
# 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
```javascript
import { ReactNativePrinter } from 'react-native-printer';
ReactNativePrinter.print('192.168.31.242', 9100, '<CB>这是一个标题</CB>')
```