Is it possible to print web content on thermal printer?

3.3k views Asked by At

Do you think it's possible to print a web content on a thermal print ? And is it possible to print it without pressing a button ?

I refresh my page every 30s and if there is a new order it displays on the screen and I would like the print prints directly without asking anything. I created a new page with the information to print and I would like to print this page.

Edit : is there a script that permits to print whatever content we want without passing by an interface ?

2

There are 2 answers

0
Tushar Mate On

it is possible if you use a mobile app. See my below Android app which prints any content on bluetooth thermal printer from a website.

https://play.google.com/store/apps/details?id=mate.bluetoothprint&hl=en_IN

I have used manual method in my app but you can make everything automated with your custom app. e.g. once an order is generated on your website, it will trigger firebase event and call your android / ios app which is connected to thermal printer and it will print automatically

0
Dimitry Castex On

It is possible if you use the options --kiosk-printing --kiosk --disable-background-timer-throttling on chrome and launch printing with window.print() in javascript.

How to activate the options mentioned above in Google Chrome: https://www.shoptill-e.com/support/48