Change default printer when printing many pdfs

I'm writing an application which prints out many pdfs at once (hundreds) according to a list the user makes.  i.e. they pick what they want to print from a listbox.

I'm using the following code to print the pdfs which works great:

                    Dim adobeProc As Process
                    Dim startinfo As New ProcessStartInfo("C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe")
                    startinfo.FileName = filename
                    startinfo.Verb = "print"
                    adobeProc = Process.Start(startinfo)
                    Application.DoEvents()
                    adobeProc.Close()


However, I would like to give the user the option of picking which printer to send the print job to.  Is this possible


Answer this question

Change default printer when printing many pdfs

  • harsha09

    Hi

    I need to do the same, but I look many ways to do it and so far the only way i found it, is to do it  using a component (http://www.pdftron.com/net/index.html) and using some .net functions (using System.Drawing, using System.Drawing.Printing)

     the main problem is that the component cost.

     but you can check in the page they got some examples to print a pdf whitout using Process. I you like I got some code in C# to choose the printer.

  • Change default printer when printing many pdfs