Link to home
Start Free TrialLog in
Avatar of mouse6
mouse6

asked on

Print problem

hi I would like to put one sentence in my printdialog that will be printed with every document.
this is my code , where and how to put it:

Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
        e.Graphics.DrawString(TextBox5.Text, New Font("Arial", 15, FontStyle.Regular), Brushes.Black, 1, 60)
        e.Graphics.DrawString(TextBox6.Text, New Font("Arial", 15, FontStyle.Regular), Brushes.Black, 1, 80)


THX
ASKER CERTIFIED SOLUTION
Avatar of newbie22
newbie22

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial