dre-logics -1 Junior Poster

I Use visual basic 2008

I Have two tablelayoutpanels:

Me.TableLayoutPanel1
Me.TableLayoutPanel2

I want ot use PrintDocument component to print one Page with two tablelayoutpanels on it!

I have now this code for printing a "TextBox1.Text"

Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage    

         e.Graphics.DrawString(TextBox1.Text, TextBox1.Font, Brushes.Blue, 100, 100)    

 End Sub

Thanks for the reply,

André