Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_windows_forms thread: Print a document


Message #1 by "Michel Grootjans" <michel.grootjans@a...> on Mon, 20 Jan 2003 10:32:48
Michel Grootjans wrote:
> This might seem like a stupid problem, but I can't seem to find the
> solution.
>
> All I want is to print a specific pdf document. The location and
> filename are predefined. I just need to launch ACrobat Reader and
> print the document.
>
> Just like when you right click a pdf document in explorere, you
> launch an command "C:\Program Files\Adobe\Acrobat
> 5.0\Reader\AcroRd32.exe" /p /h "%1"

If launching that command will get you what you're looking for, see the
System.Diagnostics.Process class.

---
Patrick Steele
Microsoft .NET MVP
http://radio.weblogs.com/0110109/


  Return to Index