Virtual ESC POS printer

Olga Pshenichnikova picture Olga Pshenichnikova · Mar 28, 2019 · Viewed 7.5k times · Source

I searched little bit for emulation of ESC/POS printer, but didn't found any thing more, then data parsers like this.

In few words, I have Linux, I have device connected to my PC via UART/RS-232 port. I need some soft, that will listen to specific COM port, and visualize data sent to be printed to this port (in example saves it as PDF).

Answer

mw. picture mw. · Apr 30, 2019

I don't think there is an out of box solution, but if you can capture the data (and it is a simple enough subset of esc/pos) you could then feed it to a tool like esc2html + wkhtmltopdf.

https://github.com/receipt-print-hq/escpos-tools

https://wkhtmltopdf.org/