Skip to content

bluesad/electron-print-service

 
 

Repository files navigation

Jubelio POS Print Service

A Print service for Jubelio POS Web-Based. These apps helped to connect with hardware like Printer or etc with the USB method.

Features

This repository was build with :

Getting Started

Clone the repo and install dependencies:

git clone https://github.com/revell29/electron-print-service.git your-project-name
cd your-project-name
npm install

Starting Development

start the app in the dev environment

npm run start

Packaging for production

To package apps for the local platform:

npm run package

Issue

if you run this repo and got error usb.on not function you should remove or disabled this code.

Open file node_modules/escpos-usb/index.js, then search this code and comment this on line 52

usb.on('detach', function(device){
  if(device == self.device) {
  self.emit('detach'    , device);
  self.emit('disconnect', device);
  self.device = null;
  }
});

and line 169

usb.removeAllListeners('detach');

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 81.6%
  • JavaScript 15.2%
  • CSS 2.2%
  • Other 1.0%