A Universal Asynchronous Receiver/Transmitter (UART) is used for serial (where each bit of data is transmitted along the same connection) communications over a computer or peripheral device serial port.
I searched little bit for emulation of ESC/POS printer, but didn't found any thing more, then data parsers like …
emulation uart escposI've been trying to connect to the serial console of a Raspberry Pi 3 with Android Things using USB to TTL …
console uart android-things