title: Send a keyboard command into a program using cmd Windows7
body: <p>I am writing my first .bat file ever.  I am trying to open a file and print it.  So far I have managed to open the file.  After that I want to sent in the keyboard command of Ctrl+P to print the screen.  I am using a brother label printer and from what there tech department told me, the only way to use the printer is from the software that came with the printer.  I have looked up how to send commands from CMD in Windows and have not found anything that is helpful.  What would I do to send int Ctrl+P from the .bat file/command line?</p>
  
  <p>Here is the script.</p>
  
  <pre><code>@echo off
  
   title My First batch file
   echo Hello!
   start Ptedit50.exe "c:\My Labels\PraxisBadge.lbx"  
   start&gt;Ctrl+P 
   pause
  </code></pre>