hi
well my problem is the next......... i'm making a print in a paper my problem is that i whant to align to the right size of the paper all the items....

like this....

Code:
artigo a                         49,00
artigo b                       1150,00
the code i have until the moment is :

vb Code:
  1. Public Class Form1
  2.     Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
  3.  
  4.         Dim g As Graphics = e.Graphics
  5.  
  6.         Dim mensagem As String = "Ola"
  7.  
  8.         Dim FonteMensagem As New Font("Verdana", 10, System.Drawing.GraphicsUnit.Point)
  9.  
  10.         g.DrawString(mensagem, FonteMensagem, Brushes.Black, 0, 20)
  11.         g.DrawString(mensagem, FonteMensagem, Brushes.Black, 0, 40)
  12.  
  13.     End Sub
  14.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  15.         PrintDocument1.Print()
  16.         'PrintPreviewDialog1.ShowDialog()
  17.  
  18.     End Sub
  19. End Class