'How to print a web page using javascript with Android POS Machine

I am using an Android POS machine to print receipts for my customers using an Android App. Recently I made a website for this service and need to print by web browser using Javascript window.print() method. No issues when printing from my Windows10 Laptop. But I can't print with POS. I am using Microsoft Edge / Google Chrome browser (Android). But when printing, print window will come with two options. Save as PDF and All printers. How I connect with the inbuilt printer of the POS. I need to print directly by the inbuilt printer of the POS machine without any dialog windows.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source