title: Sending Printer Commands via USB in C#
body: <p>I have a ticket printer I am trying to send raw print commands to, </p>
  
  <p>I am currently sending the commands by pinvoke to winspool.drv and calling WritePrinter. This is working for most of the commands I am sending, but I cannot get feedback from the printer this way (for example, the printer has a barcode reader on it, I can send them command read barcode but I cannot receive the data back as it is stopped by the windows spooler). </p>
  
  <p>Is there a way to open a USB port and send a byte[] of commands in C#?</p>
  
  <p>Many Thanks</p>
  
  <p>Shaun</p>