Vaadin platform Java integration for controlling Bluetooth LE connected receipt printers from the server-side.
A browser that support WebBluetooth and a receipt printer that supports Bluetooth LE, like:
Starting the test/demo server:
mvn jetty:run
This deploys demo at http://localhost:8080
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.