Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
denitiawan committed May 20, 2023
1 parent e5d4631 commit 0f9afcc
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,22 @@ Example code for setup and implementation [ESCPOS](https://github.com/song940/no
https://github.com/denitiawan/research-electron-react-boilerplate-printthermal/blob/main/research-logs/research-log-17052023-setupESCPOSonElectronReactBoilerplateWithThermalPrinter.md

# How to test this repo?
- `clone` this project
- cd into this repo > `npm install`
- install escpos lib
- clone repository
```
npm i escpos@3.0.0-alpha.6
npm i escpos-usb@3.0.0-alpha.4
npm i usb@1.9.2
git clone https://github.com/denitiawan/research-electron-react-boilerplate-escpos.git
```
- cd into this repo
```
cd research-electron-react-boilerplate-escpos.git
```
- install node_modules
```
npm install
```
- run app
```
`npm start`
```
- run app with `npm start`
- plug usb printer
- klik button test print
- printer will printout the receipt
Expand Down

0 comments on commit 0f9afcc

Please sign in to comment.