Add pages to a print job.
printToJob([in] int firstPage, [in] int lastPage, [in] double llx, [in] double lly, [in] double urx, [in] double ury, [in] double xScale, [in] double yScale, [in] double xOffset, [in] double yOffset, [in] int rotate)
This function adds page(s) to the current print job (which was started by a call to startPrintJob). You can load a different PDF file before each printToJob call, and/or change the parameters passed to each printToJob call.

The arguments are:

' start the print job, setting parameters that apply to ' the whole job viewer.startPrintJob(False, 1, "LaserJet") ' set parameters that apply to the next part of the print job viewer.loadFile("file1.pdf") viewer.printToJob(1, 3, 0, 0, -1, -1, -1, -1, -1, -1, -1) ' set parameters for the next part of the print job viewer.loadFile("file2.pdf") viewer.printToJob(1, 3, 0, 0, -1, -1, -1, -1, -1, -1, 90) ... ' finish the print job viewer.finishPrintJob()