The printing works fine, except for the fact that it cuts off my text that did not fit into the page. eg.

TEXT:
abababababababbabababa

PAGE:

-----------------|
PAGE |
|

All that will be printed is this:
abababababababb

How do I set it to automatically "wordwrap" or something to the size of the page that will be printed?

I'm using this code to print my text:
.net Code:
  1. Sub PrintPreview()
  2.         Dim Print_Preview As New PrintPreviewDialog
  3.         Print_Preview.Document = PreparePrintDocument()
  4.         Print_Preview.WindowState = FormWindowState.Maximized
  5.         Print_Preview.ShowDialog()
  6.     End Sub
  7.  
  8.     Private Function PreparePrintDocument() As PrintDocument
  9.         Dim Print_Document As New PrintDocument
  10.         AddHandler Print_Document.PrintPage, AddressOf Print_PrintPage
  11.         Return Print_Document
  12.     End Function
  13.  
  14.     Private Sub Print_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs)
  15.         Dim Page As String
  16.         Page = Me.rt.Text
  17.         e.Graphics.DrawString(Page, rt.Font, Brushes.Black, 50, 50)
  18.         e.HasMorePages = False
  19.     End Sub