title: How do I print a string with a printer?
body: <p>I'm writing an application that need to print some information that would came from a DataGridView, I already have the string I'd like to print, I just don't know how. I found some stuff on the web that said I'd need to use a PrintDocument object and a PrintDialog.</p>
  
  <p>Lets suppose I have 3 strings and I want to print to each one in one line (line 1, 2 and 3),but the first must be in bold and using the Arial font.
  The output (on the paper) would be:</p>
  
  <pre><code>string 1 (in bold and using the Arial font)
  
  string 2
  
  string 3
  </code></pre>
  
  <p><strong>EDIT: (asked by <a href="https://stackoverflow.com/users/34824/abelenky">abelenky</a>)</strong></p>
  
  <p>The Code:</p>
  
  <pre><code>    private void PrintCoupon()
      {
          string text = "Coupon\n";
  
          foreach (DataGridViewRow dgvRow in dataGridViewCarrinho.Rows)
          {
              foreach (DataGridViewCell dgvCell in dgvRow.Cells)
              {
                  text += dgvCell.Value.ToString() + "  ";
              }
  
              text += "\n";
          }
  
          MessageBox.Show(text);
          // I should print the coupon here
      }
  </code></pre>
  
  <p>So how do I do that using C#?</p>
  
  <p>Thanks.</p>