These samples includes following functions.
- printing - To print by the printer
- printing (spooler) - To print using the printer's spooler function
- template print - To print using template printing function
- printing samples - Printing samples of receipts and labels (sample code and print results) for each type of business
- discovery - To discover devices
- status - To get the status of the device
- monitor - To monitor the device
The following example is for the printing
function.
yarn install
cp samples/printing(or another function)/App.tsx ./
cd ios
pod update
cd ..
npx react-native run-ios
npx react-native run-android
npx react-native run-windows
⚠️ If the build fails, please refer to "What should I do when Windows sample app build fails" on this page.