How to get status command response from thermal printer using Tcp / Ip socket

I am working on a new android app using (Ethernet) thermal printer, smartphone and printer are on the same network (192.168.2.0), so it works fine so far, I can print the ticket and send the command to the printer successfully, but I cannot get printer saturation (paper state example), I send command (Socket Outputstream) but I cannot read response (input stream) using Tcp / ip (Socket), So my question is how can I read response from printer using Inputstream ?? Any help is appreciated.

+3


source to share





All Articles