react-native-epson-tm

In Development

Usage no npm install needed!

<script type="module">
  import reactNativeEpsonTm from 'https://cdn.skypack.dev/react-native-epson-tm';
</script>

README

react-native-epson-tm

Getting started

$ npm install react-native-epson-tm --save

Mostly automatic installation

$ react-native link react-native-epson-tm

Usage

import { EpsonTm ,Epos2ModelLang ,Epos2PrinterSeries } from 'react-native-epson-tm';

// TODO: What to do with the module?
EpsonTm.initialSetup({
      ipAddress: 'TCP:192.168.0.240',
      lang: Epos2ModelLang.CHINESE,
      printerSeries:Epos2PrinterSeries.EPOS2_TM_M30
    }, (error, events) => {
      if (error) {
        console.error(error);
      } else {
        this.setState({
          status: 'printer connect',
          message: events
        });
      }
    });;

V1.0.8

Added proper error message when issue in printing for android only Added language set in text method