From 0f9afcccfc109cedc6884f3e105477cb86b848cb Mon Sep 17 00:00:00 2001 From: Deni Setiawan Date: Sat, 20 May 2023 11:06:58 +0700 Subject: [PATCH] Update README.md --- README.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 60ea2a0..53e81a9 100644 --- a/README.md +++ b/README.md @@ -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