WebBluetooth printer
WebBluetooth thermal printer integration for Vaadin platform
WebBluetooth printer
Vaadin platform Java integration for controlling Bluetooth LE connected receipt printers from the server-side.
What do you need?
A browser that support WebBluetooth and a receipt printer that supports Bluetooth LE, like:
Source code
Sample code
public class DemoView extends Div { public DemoView() { BluetoothPrinter bluetoothPrinter = new BluetoothPrinter(); TextArea textArea = new TextArea(); Button button = new Button("Print", click -> bluetoothPrinter.print(textArea.getValue())); add(textArea, bluetoothPrinter, button); } }
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
- Released
- 2019-01-08
- Maturity
- EXPERIMENTAL
- License
- Apache License 2.0
Compatibility
- Framework
- Browser
- N/A