Hubertformin / electron-pos-printer

Electron-pos-printer is a plugin that works to ease paper formatting and printing to thermal printers. it currently supports 80mm, 78mm, 76mm, 58mm, 57mm and 44mm printers thermal printers. it is built with Electron.js and Node.js
Apache License 2.0
318 stars 102 forks source link

Application remains running on the background after closing #88

Open kolucciy opened 1 year ago

kolucciy commented 1 year ago

It looks like if there is a "TimedOutError" error with printing then when main window is closed the app will remain running in the background, it seems like window-all-closed event is not fired anymore.

Titella commented 1 year ago

In case you need more information with:

"electron": "^16.0.5", "electron-pos-printer": "^1.3.6",

When running in dev environment it gives the following errors:

(node:5344) electron: Failed to load URL: file:///C:/Projectes/printer-server/dist/main/node_modules/electron-pos-printer/dist/renderer/index.html with error: ERR_FILE_NOT_FOUND

[TimedOutError] Make sure your printer is connected