API
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.
Syntax
C |
---|
int CibPdfBrJobWaitFor( |
Parameters
CibPdfBrJobHandle* a_pJob: Handle of the job.
unsigned long a_TimeOut: Timeout in miliseconds. Use -1 for infinite timeout.
Return value
If 0 is returned, the function succeeded, function failed otherwise. Check error code list.