pdfGetJobID
Get the job ID for the most recent print job.
int pdfGetJobID(PDFHandle pdf)
This function returns the print job ID corresponding to the most
recent call to
pdfPrint4
. This value can be passed to the Windows
GetJob
and SetJob
functions to query and
manipulate the print job.
(The pdfPrintToDC2
function does not create a print job. The
caller is responsible for calling StartDoc, and pdfGetJobID will not
return a useful value in that situation.)
C:
int jobID = pdfGetJobID(pdf);