Thanks for your reply, I may have not said it clearly
what I have alraedy done is this:
'---------------------------------------------------------------------------
--------------------------------------------------------------------------
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
oPrintDocument.PrinterSettings.PrinterName = "HPLaserJ.2"
oPrintDocument.Print()
End Sub
Private Sub oPrintDocument_PrintPage(ByVal sender As Object, ByVal e As
System.Drawing.Printing.PrintPageEventArgs) Handles oPrintDocument.PrintPage
Dim printFont As New Font("Arial", 10)
e.Graphics.DrawString("Hello World!!!", printFont, Brushes.Black, 5, 5,
New StringFormat)
End Sub
'---------------------------------------------------------------------------
--------------------------------------------------------------------------
and it is working just fine, but this technique prints a string, I want to
print an HTML Page!!!
I tried reading an HTML page into a StreamReader and read StreamReader line
by line and print it, but the print out came with the HTML Tags, NOT the
inerpreted result in the browser.
Ahmad