react-native-brother-printing
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

react-native-brother-printing

React Native Brother Printing is a react-native module that will allow you to print labels on Brother printers via Wifi and Bluetooth.

Getting started

$ npm install react-native-brother-printing --save

or

$ yarn add react-native-brother-printing

Mostly automatic installation

$ cd ios; pod install

or if you are using React Native before version 0.60,

$ react-native link react-native-brother-printing

Usage

Printing via Bluetooth

To discover printers use the discoverPrinters function. You can pass in the option parameters printerName to change the printer name, or V6 to enable ipv6 detection. Both parameters can be left blank.

import { printImageViaBluetooth } from "react-native-brother-printing";

const modelName = 'QL-820NWB';

printImageViaBluetooth(imageUri, modelName)

Printing via Wifi

import { printImageViaWifi } from "react-native-brother-printing";

const ipAddress = '192.168.1.18';
const modelName = 'QL-820NWB';

printImageViaWifi(imageUri, ipAddress, modelName)

Influence

This library is influenced by react-native-brother-printers.

Package Sidebar

Install

npm i react-native-brother-printing

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

159 kB

Total Files

19

Last publish

Collaborators

  • ivanstoilov