pdfPrintToJob

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

The arguments are:

C:
/* start the print job, setting parameters that apply to the whole job */ pdfStartPrintJob(viewer, FALSE, 1, "printer55"); /* set parameters that apply to the next part of the print job */ pdfLoadFile(viewer, "file1.pdf"); pdfPrintToJob(viewer, 1, 3, 0, 0, -1, -1, -1, -1, -1, -1, -1); /* set parameters for the next part of the print job */ pdfLoadFile(viewer, "file2.pdf"); pdfPrintToJob(viewer, 1, 3, 0, 0, -1, -1, -1, -1, -1, -1, 90); ... /* finish the print job */ pdfFinishJob(viewer);
pdfStartPrintJob
pdfFinishPrintJob
pdfPrint3