* "Jon Turner" <jo********@mail.com> scripsit:
What is the best way (if possible) to stream RTF to a printer, without the
use of windows form controls ?
\\\
Dim p As New System.Diagnostics.ProcessStartInfo()
p.Verb = "print"
p.WindowStyle = ProcessWindowStyle.Hidden
p.FileName = "C:\filename.rtf"
p.UseShellExecute = True
System.Diagnostics.Process.Start(p)
///
Related:
HOW TO: Print the Content of a RichTextBox by Using Microsoft Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;811401>
Getting WYSIWYG Print Results from a .NET RichTextBox
<URL:http://msdn.microsoft.com/library/en-us/dnwinforms/html/wnf_RichTextBox.asp>
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>