Print header (vb6 to vb.net)

Joined
Mar 12, 2007
Messages
11
Programming Experience
Beginner
Hi, i would like know, how should I print this in vb.net?

Printer.Print("txt1","txt2", "txt3", "txt4")

If its only Printer.Print("txt1"), then i know how to write it in vb.net.
Printer.Print("txt1") >>> e.Graphics.DrawString("txt1", Me.Font, Brushes.Black, 100, 100)

And also, what should i replace 'Printer.Width' with? Do i replace it as 'e.MarginBounds.Width' ?

Many thanks.
 
Back
Top