Yes, that's what I was thinking too, however I don't know how to go about doing that.
Here is the code that I use to print the jobs:
Sub Print2(ByVal ArrayFiches, ByVal Imprimante)
Dim Fichier As IO.FileInfo
Dim pdfName As String
Dim proc As New Process
proc.StartInfo.Verb = "print"
proc.StartInfo.CreateNoWindow = True
If ArrayFiches.Length > 0 Then
For Each Fichier In ArrayFiches
pdfName = Fichier.FullName
proc.StartInfo.FileName = pdfName
proc.StartInfo.Arguments = "/t " & pdfName & Imprimante
proc.Start()
Next
proc.Dispose()
End If
End Sub
There are 9 departments which need pdf documents from 18 possible directories.
Depending on which department (hence my CheckBoxes representing a particular department), I will fetch arrays of pdfs from several of those directories (depending on the needs of each department) and call the above Subroutine for each of these arrays.
Each directory can possibly have several pdfs or none at all.
And so each print job can easily consist of several dozen pdf files being sent to the printer.
I use the latest Acrobat Reader to do the printing and have set it as the default program to open pdf files. I have also set Acrobat Reader to select the paper format according to each page.
Thank you!