title: How to execute MSDOS Command from browser (PHP or Java)
body: <p>I have a USB line display, similar to the ones that are used in store point of sale systems.  </p>
  
  <p>To print <code>ABC</code> to this line display, I run the following command:</p>
  
  <p><code>echo ABC &gt; \\.\LCLD9\</code></p>
  
  <p>This prints <code>ABC</code> to the line display.</p>
  
  <p>I'm trying to figure out how to control this output from a website, if possible, although I am not sure if it would be possible, as I can see security issues with being able to run arbitrary commands form web pages.</p>