Printing a pdf File in vb.net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to print a report which was created in Adobe Acrobat with the
extention pdf. Is there an easy way to do this.

I am new at this and would appreciate any code that can help.
 
Don,

You can create a process and call the shell function with the verb 'print'
for the file. This will refer back to the registry where Adobe should have
registered all the available verbs.

You can Google for System.Diagnostics.Process and
System.Diagnostics.ProcessStartInfo to get you started.

However, when I have done this I noticed that Acrobat will actually open
during the print process and the user will have to close. There may be some
way to automatically close Acrobat Reader at the end, but I don't know it.

Rick
 
Back
Top