Skip to content
Mitsuharu Emoto edited this page Dec 1, 2023 · 2 revisions

@mitsuharu/react-native-sunmi-printer-library

React Native module that support to print for SUNMI mobile thermal printer devices.

Installation

npm install @mitsuharu/react-native-sunmi-printer-library

or

yarn add @mitsuharu/react-native-sunmi-printer-library

Usage

You see example directory for details.

import * as SunmiPrinterLibrary from '@mitsuharu/react-native-sunmi-printer-library'

await SunmiPrinterLibrary.prepare()
await SunmiPrinterLibrary.printText('Print Text')

not support

  • Transaction Print API
  • Cash Drawer API
  • Black Mark Print API

Contributing

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

Develop

yarn
yarn example android

License

MIT


Made with create-react-native-library

@mitsuharu/react-native-sunmi-printer-library

Clone this wiki locally