You're right.
It was just a reference to the ESC / POS commands, and it will depend on the use of these commands according to the specifications of the printer.
ESC / POS = EPSON and the printers that emulate these commands.
ZPL = ZEBRA
etc.
Cheers,
Note:
TM-T20 (EPSON)
https://www.b4x.com/android/forum/threads/sd-bt-printer-bluetooth.85750/ How to check if the printer does not have paper or its door is open? Do we have any event to receive answers from printer, according with the ESC/POS commands we sent to printer?
GooJPRT PT-210 (emulate command ESC/POS)
We have the programming manuals, we import some of the factory from China