title: VB MSCOMM CONTROL PRINTING COMMAND
body: <p>i tring to send print command through VB using mscomm control
  it working fine but it throw error:</p>
  
  <p>'4 line clode is below</p>
  
  <pre><code>MSComm1.CommPort = 1
  MSComm1.Settings = "9600 ,N,8,1"
  MSComm1.PortOpen = False
  MSComm1.Output = "String to hardware"
  </code></pre>
  
  <p>Error: (8015) Could not set comm state, there may be one or more invalid communications parameters.</p>