Waits for the print job to finish. You should make sure that the print job is being executed and not left in the printer queue.
CibPdfBrJobHandle* a_pJob: Handle of the job.
unsigned long a_TimeOut: Timeout in miliseconds. Use -1 for infinite timeout.
If 0 is returned, the function succeeded, function failed otherwise. Check error code list.