macupryk Posted November 22, 2005 Posted November 22, 2005 I have the following: Case 12 'print PrintDialog1.Document = ThePrintDocument Dim strText As String = Me.txtComments.Text myReader = New StringReader(strText) If PrintDialog1.ShowDialog() = DialogResult.OK Then Me.ThePrintDocument.Print() End If I need a sub routine for printing different fonts (sizes), underline, bold. Private Sub ThePrintDocument_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles ThePrintDocument.PrintPage Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.