Skip to content

Latest commit

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

react-native-pax-printer

React-Native printer module for PAX POS devices

Installation

Step 1

yarn add react-native-pax-printer

Step 2

Download the file libDeviceConfig.so and place it in android/app/src/main/jniLibs/armeabi-v7a

Step 3

Open android/app/build.gradle and add the armeabi-v7a filter for the ndk in defaultConfig

...
android {
...
defaultConfig {
...
ndk {
abiFilters "armeabi-v7a"
}
}
}

Printing

import{printString}from"react-native-pax-printer";
...
awaitprintString('String to print');awaitprintStrings(['String one','String two','String 3']);
...

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages