Kodular WebView - Bluetooth Thermal Printer ESC/POS

In a WebView application, how can I perform printing on a thermal printer (ESC/POS)?