GetJobInfo

 

Queries detailed information about the print job. Use the specific functions to retrieve the information from the JobInfo structure

 

GetJobInfo(PrinterName As String, NrJob as Long, JobInfo As Long) As Long

 

Input values:           PrinterName            - The name of the printer to be queried

NrJob - The number of the job from the list job to be retrieved. It is different from the JobID. Use the GetNumberOfJobs() method to retrieve the total number of jobs available.

JobInfo          - a variable to store the job information. Use the specific methods to retrieve each specific job information from the JobInfo structure

Return value            - 0 on success, the values of GetLastError() otherwise.