title: Laravel Thermal printer not responding
body: <p>I am developing an app which uses thermal printer</p>
  <p>I am using windows 10 and printer is Xprinter Xp-58IIH</p>
  <p>The printer is connected to my system using usb</p>
  <p>The print does not respond to printing and no error is showing on the log</p>
  <p>web.php</p>
  <pre><code>use Mike42\Escpos\PrintConnectors\FilePrintConnector;
  use Mike42\Escpos\Printer;
  use Mike42\Escpos\PrintConnectors\WindowsPrintConnector;
  use Mike42\Escpos\PrintConnectors\NetworkPrintConnector;
  
     try {      
  
      $connector = new WindowsPrintConnector(&quot;Xp-58IIH&quot;);
      $printer = new Escpos($connector);
      $printer-&gt;text(&quot;Hello World!\n&quot;);
      $printer-&gt;cut();
  
  } catch(Exception $e) {
      echo &quot;Couldn't print to this printer: &quot; . $e -&gt; getMessage() . &quot;\n&quot;;
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/jNwkh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jNwkh.png" alt="enter image description here" /></a></p>
  <p>How do I solve this issue?</p>