winforms-print a HTML

  • Thread starter Thread starter Pablo
  • Start date Start date
P

Pablo

Folks,
i'm working with windows forms, in a local application.
What i need to do is to print an HTML file or receive the
html code and send it to printer with the corresponding
formatting.
If u have any suggestions, please let me know.
Pablo.
 
Hello,

Pablo said:
i'm working with windows forms, in a local application.
What i need to do is to print an HTML file or receive the
html code and send it to printer with the corresponding
formatting.
If u have any suggestions, please let me know.

2 solutions:

\\\
Dim p As New System.Diagnostics.ProcessStartInfo()
p.Verb = "print"
p.WindowStyle = ProcessWindowStyle.Hidden
p.FileName = "C:\filename.htm"
p.UseShellExecute = True
System.Diagnostics.Process.Start(p)
///

- or -

http://groups.google.de/groups?selm=#[email protected]

Keywords: HTML, Print, WebBrowser, "print", Process.
 
Back
Top