Printing a pdf File in vb.net

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.
 
R

Rick

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top