简体   繁体   中英

Is it possible to print web content on thermal printer?

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 ?

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

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. eg 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM