printToJob

Add pages to a print job.
printToJob()
This function adds one or more pages to a print job (which was started by calling the startJob function).

The following parameters can be changed before calling printToJob, i.e., can be set independently for each section of a print job:

VB6:
' set parameters that apply to the whole print job pdf.printer = "printer55" pdf.startJob ' set parameters that apply to the next part of the print job pdf.loadFile "file1.pdf" pdf.paperID = 1 pdf.pages = "3-5" pdf.printToJob ' set parameters for the next part of the print job pdf.loadFile "file2.pdf" pdf.paperID = 2 pdf.pages = "2-4" pdf.printToJob ... ' finish the print job pdf.finishJob
startJob
printOtherFileToJob
finishJob