Retrieves the ID of the job from the JobInfo structure The JobID is a unique identifier and it is not the same as the job number in the queue.
GetJobIDFromJobInfo(JobInfo As Long) As Long
Input values: JobInfo - The JobInfo value returned by the GetJobInfo() method
Return value - The ID of the Job. It can be used to control the print job.