Private Sub PrintDocument1_PrintPage(ByVal sender As Object, _ ByVal e As System.Drawing.Printing.PrintPageEventArgs _ ) Handles PrintDocument1.PrintPage Dim mb As New Rectangle( _ e.MarginBounds.X, _ e.MarginBounds.Y + e.MarginBounds.Height \ 2, _ e.MarginBounds.Width, _ e.MarginBounds.Height \ 2) Dim pb As New Rectangle( _ e.PageBounds.X, _ e.PageBounds.Y + e.PageBounds.Height \ 2, _ e.PageBounds.Width, _ e.PageBounds.Height \ 2) Dim eg As New System.Drawing.Printing.PrintPageEventArgs( _ e.Graphics, mb, pb, e.PageSettings) checkPrint = RichTextBoxPrintCtrl1.Print(checkPrint, _ RichTextBoxPrintCtrl1.TextLength, eg) If checkPrint < RichTextBoxPrintCtrl1.TextLength Then e.HasMorePages = True Else e.HasMorePages = False End If End Sub