react-native-epson-printer
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

react-native-epson-printer

A react native module for epson printer sdk.

Installation

npm install react-native-epson-printer

Usage

import {discover, print} from "react-native-epson-printer";

// for discovery
const printers = await discover({interface_type: InterfaceType.LAN});

// for printing
const response = await print({
  printer: {name: 'Epson', interface_type: 'LAN', mac_address: '12:12:12:12:12:12', target: '192.168.0.100'},
  data: 'Test Print',
  receipt_copy_count: 1,
  font_size: FontSize.Small, // Small, Regular, Medium, Large
})

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i react-native-epson-printer

Weekly Downloads

2

Version

0.1.10

License

MIT

Unpacked Size

19.1 MB

Total Files

119

Last publish

Collaborators

  • gladwinbobby