How to print from Chrome app to bluetooth thermal printer

My setup is that ERPNext is installed in my computer and other users can access ERPNext’s POS using a tablet via Chrome. Problem is I cannot print the receipt. I tried using the app RAWBT and ECS/POS Bluetooth Print Service but it got stuck either in the print preview phase or, after tapping the print button, it says “There was a problem printing the page. Please try again.”
Note: Printer is Xprinter xprinter xp-58iih.