Skip to content

Commit

Permalink
improve example
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceK33z committed Oct 4, 2018
1 parent 45aae77 commit 826d9b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ To install the native dependencies:
react-native link react-native-honeywell-printer
```

Unless you already know the Bluetooth MAC address of the printer, you need to use `react-native-bluetooth-serial` as well. Since it has an issue with recent versions of React Native, we use [this fork](https://github.com/jhonber/react-native-bluetooth-serial).

## Usage

First you need to copy `printerprofiles.json` from this repository to `android/app/src/main/assets/printerprofiles.json` in your project. You can modify this file to change the styling of the print document.

```js
import BluetoothSerial from 'react-native-bluetooth-serial';
import honeywellPrinter from 'react-native-honeywell-printer';

async function print() {
Expand Down

0 comments on commit 826d9b6

Please sign in to comment.