title: Ticket printing
body: <p>I'm busy to write ticket program in Vb , everything is working perfectly
  but when i'm printing things goes wrong,
  the ticket is printing correctly ( in this example 3 ) the ticketnumbers are overlapping 
  example : 3 tickets 15200 , 15201 , 15203
  3 tickets are printed but the 1520 is printed correct but on evey ticket the 1,2 a 3 are printed over each other 
  What the hell is going wrong ??</p>
  
  <p>this is a part of the code</p>
  
  <pre><code>Private Sub PrintDocument1_PrintPage(sender As System.Object, e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
  
  Dim AZ As String
  
  Dim x As Integer
  
  Dim LB1, LB2 As Integer
  
  AZ = TextBox12.Text
  
  For x = 0 To AZ - 1  
     LB1 = Val(TextBox1.Text) + x
     e.Graphics.DrawString(LB1, New Font("Microsoft Sans Serif", 10), Brushes.Black, New Point(155, 265))
  next
  
  end sub
  </code></pre>