printing is easy ??

  • Thread starter Thread starter cmrchs
  • Start date Start date
C

cmrchs

Hi,

is there an easy way to load a document and print it out as it is (thereby recognizing its format :richtext or other) ?

By easy I mean without having to implement the PageEvent-handler of a printDocument-object (in which I have to specify the position myself of the lines I want to print)


Thanks

Christian

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
* Chris C ([email protected]) scripsit:
is there an easy way to load a document and print it out as it is
(thereby recognizing its format :richtext or other) ?

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