title: Printing a Text File from Command Prompt
body: <p>Alright, this is outside my area of expertise but so here's what I'm trying to do: </p>
  
  <p>&rarr; I have a POS (Point of Sale) receipt printer. I have the drivers installed for it and can print a test page with it. I can also print from notepad++ (for example), although it leaves a lot of empty space. This printer is set as the default printer.</p>
  
  <p>&rarr; I want to be able to print a single line to the printer using some automated process in Windows. My initial thought was to have the line I wanted to print in a text file and then to use:</p>
  
  <pre><code>print C:\filename.txt
  </code></pre>
  
  <p>from Command Prompt. However, this results in</p>
  
  <pre><code>C:\filename.txt is currently being printed
  </code></pre>
  
  <p>but nothing is printed. I am unfamiliar with ESC/POS and do not understand where to incorporate those commands either. Basically, printing a txt file from Command Prompt is my first necessity though. Any help?</p>