Print a bill using TM-T20III

I have an epson tm-t20iii printer and I want to make a program that allows me to print a bill using it.
I looked a lot about python solutions and javascript solutions, but didn’t succeed.
I don’t have any programming language preference whether it’s javascript, php, python or java, the goal is being able to make that application listen into requests, it could be an app that gets installed on a Windows machine, and listens on events coming from an electron application or python tkinter app. I just need to figure out a way to do it. (preferable USB not network)

Any ideas please ?