title: display barcode on receipt in php
body: <p>i want to display barcode with epson tm-t82 thermal printer.im using php to create receipt.</p>
  <p>but until now it has always failed.</p>
  <p>below is the php script that I use to print the contents of the receipt details.</p>
  <pre><code>&lt;?php
  
  $mprint .= chr(27).chr(97).chr(49); // align center
  
  $mprint .= &quot;Proof of Handover of Dirty Linen\r\n&quot;;
  
  $mprint .= &quot; \r\n&quot;;
  
  $mprint .= &quot;Thank You\r\n&quot;; 
  
  $mprint .= chr(27).chr(100).chr(5); // enter 5 lines
  
  exec('echo &quot;'.$mprint.'&quot; &gt; /tmp/linenshrmstruk.tmpctk');
  
  exec('lpr -H 127.0.0.0' -P printername -l /tmp/linenshrmstruk.tmpctk');
  
  ?&gt;
  </code></pre>
  <p>what I want is, to show the barcode at the end of the line before print it out.but I still didn't find exactly how to do it.It would be of great help if some one could assist me with a solution with those script above. please help.</p>