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(
  CibPDfBrJobHandle *a_pJob,
unsigned long a_TimeOut
);

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.