/flow-bluetooth-printer

Primary LanguageJavaScriptOtherNOASSERTION

WebBluetooth printer

Vaadin platform Java integration for controlling Bluetooth LE connected receipt printers from the server-side.

Demo video on YouTube
Demo video on YouTube

What do you need?

A browser that support WebBluetooth and a receipt printer that supports Bluetooth LE, like:

Development instructions

Starting the test/demo server:

mvn jetty:run

This deploys demo at http://localhost:8080

Inspired by

Inspired by @NielsLeenheer's TweetPrinter. bluetooth-printer.js is loaned directly from the TweetPrinter project and bundle.js is generated from https://github.com/Wnt/bluetooth-printer. Basically it contains Broserified version of the esc-pos-encoder library and it's dependencies.