T
T
tu_creator2019-12-12 22:41:48
JavaScript
tu_creator, 2019-12-12 22:41:48

How to send ESC/POS js commands?

Hello. There is an Epson TM-T20II thermal printer that is connected to the network via an Ethernet cable. How to send esc/pos commands to printer from website using js? The printer has its own ip and port. I would be grateful for any information.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
chuck, 2021-10-27
@chuck

No way, the browser can generate HTTP requests (WebSocket), and you need a TCP connection.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question