tojocky / node-printer

Native node.js printer
1.53k stars 441 forks source link

Question: is this for Electron only? #286

Open andrispraulitis opened 4 years ago

andrispraulitis commented 4 years ago

How to install directly from git and use this simple react web app?

drochag commented 4 years ago

No, this is not for Electron only, you can use it on NodeJS as well. React is client side, you won't be able to use this module unless you communicate with some NodeJS server.

andrispraulitis commented 4 years ago

Thanks @DanMMX , I'm new to this printer stuff. Basically I have a React webapp that has raw epl/zpl format label I need to send to the printer. Wondering if it is at all possible directly from client(browser)...

drochag commented 4 years ago

Nope. Apps from the browser can't access hardware, unless you make it an Electron app.