-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Mitsuharu Emoto edited this page Dec 1, 2023
·
2 revisions
React Native module that support to print for SUNMI mobile thermal printer devices.
npm install @mitsuharu/react-native-sunmi-printer-library
or
yarn add @mitsuharu/react-native-sunmi-printer-library
You see example
directory for details.
import * as SunmiPrinterLibrary from '@mitsuharu/react-native-sunmi-printer-library'
await SunmiPrinterLibrary.prepare()
await SunmiPrinterLibrary.printText('Print Text')
- Transaction Print API
- Cash Drawer API
- Black Mark Print API
See the contributing guide to learn how to contribute to the repository and the development workflow.
yarn
yarn example android
MIT
Made with create-react-native-library