Streaming RTF to a Printer

  • Thread starter Thread starter Jon Turner
  • Start date Start date
J

Jon Turner

What is the best way (if possible) to stream RTF to a printer, without the
use of windows form controls ?

Many Thanks in Advance
 
* "Jon Turner said:
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>
 
Thanks for the responses, but the caveat was WITHOUT Windows Controls.
I don't see a way to call the RichTextBoxPrintCtrl.Print if there is not an
associated control on the page. This is .NET assembly DLL that needs
to perform this action.
 
Back
Top