title: How do i send DOS commands to my Receipt printer via COM1?
body: <p>How do i send DOS commands to my Receipt printer via COM1?</p>
  
  <p>Im currently devoloping a Cash register software, and i ran into an issue using the receipt printer. i need to be able to send hexidecimal commands to the printer via DOS.</p>
  
  <p>so far i've tried to do the following.</p>
  
  <p>Open CMD
  input Copy con: com1
  input a hexidecimal number
  press Ctrl + Z
  press Enter</p>
  
  <p>this according to what i've read should send the hexidecimal number as a command to he printer. but instead it just sends the number as a string and prints out the text.</p>
  
  <p>some info on the printer im using:
  TPG A794 receipt printer.
  a manual on the printer can be found here:
  <a href="http://www.cognitivetpg.com/downloads/A794%20Spec%20Sheet.pdf" rel="nofollow">http://www.cognitivetpg.com/downloads/A794%20Spec%20Sheet.pdf</a></p>
  
  <p>hope someone can help me out, as i've tried everything, and nothing seems to work.</p>