What is the best way to print the contents of a rich text box (or the file it displays), preserving its formatting, from VB?
Printable View
What is the best way to print the contents of a rich text box (or the file it displays), preserving its formatting, from VB?
Use the SelPrint Method.
Or You could set each of the Printer's Property's to match the RichTextBox's properties.
Or Look at this topicCode:If RTFBox1.FontBold = True Then Printer.FontBold = True
http://forums.vb-world.net/showthrea...threadid=19032
SelPrint does the trick. Thanks for your help!