title: PHP escpos Printing
body: <p>Can anyone please help?</p>
  
  <p>Hi , 
  Iam using "EPSON TM-T82II Receipt" to print bills.Iam using the php code </p>
  
  <pre><code> &lt;?php
     require_once(dirname(__FILE__) . "/Escpos.php");
   try {
  
   $connector = null;
    $connector = new WindowsPrintConnector("EPSON TM-T82II Receipt");
    /* Print a "Hello world" receipt" */
  $printer = new Escpos($connector);
  $printer -&gt; text("Hello World!\n");
  $printer -&gt; cut();
  
  /* Close printer */
  $printer -&gt; close();  
  } catch(Exception $e) {  
  echo "Couldn't print to this printer: " . $e -&gt; getMessage() . "\n";
  }   
  Iam getting this error "Couldn't print to this printer: Printer
  </code></pre>
  
  <p>'EPSON TM-T82II Receipt' is not valid. Use local port (LPT1, COM1, etc)
      or smb://computer/printer notation. "</p>