title: ESC/POS Command Answer
body: <p>Good morning,</p>
  
  <p>I am developing a kiosk application. In that application i need to send some commands to a printer with <code>ESC</code>/<code>POS</code> protocol.</p>
  
  <p>I have some commands that give me information about printer (printer status, end of paper status). For sending command I use <a href="http://www.delphipages.com/forum/showpost.php?p=19139&amp;postcount=4" rel="nofollow">this function</a>, but I need also to read the printer reply. 
  How can I do it? (The printer is connected in <code>USB</code> mode). </p>
  
  <p>I'm developing on delphi xe2</p>
  
  <p>Thanks</p>