getJobID

Get the job ID for the most recent print job.
getJobID([out, retval] LONG *id)
This function returns the print job ID corresponding to the most recent call to printPDF4 or startJob. This value can be passed to the Windows GetJob and SetJob functions to query and manipulate the print job.
VB6:
jobID = pdf.getJobID