Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thermal and barcode devices #42

Closed
ghost opened this issue May 14, 2013 · 1 comment
Closed

Thermal and barcode devices #42

ghost opened this issue May 14, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented May 14, 2013

Hi, can i use Breakout server to collect data from barcode scanner or send zpl/esc commands to thermal pos printers that uses serial ports by passing firmata?

@soundanalogous
Copy link
Owner

Firmata is not going to be helpful if I understand you correctly. If you want to send commands through the network directly to a serial device (without using an Arduino) it would be easier to use node-serialport to connect to the barcode scanner and then create a websocket connection to your web application using socket.io. See the nodeJS version of breakout server (Breakout/node_server/server.js) for a simple serial to websocket implementation. You could use that as a start or search google for similar solutions. There are a ton of projects using node-serialport that you can find online.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant