If you want to wait for a print job to be finished, you can register some Windows events and wait for them to be signaled by novaPDF SDK.
Before starting the print job, you have to inform novaPDF SDK that you want to be wait for an event.
Call RegisterNovaEvent(LPCWSTR p_wsEventName) with one one of the next strings:
After you send the job to the printer, call WaitForNovaEvent(ULONG p_nMiliseconds, BOOL* p_bTimeout). This function will return when the event was signaled or when the time was elapsed. If the time was elapsed p_bTimeout is TRUE and if the event was signaled, p_bTimeout is FALSE.
If you just want to be sure that the print job was started, the profile was read, and you want to proceed modifying the profile for the next job, you should wait for the NOVAPDF_EVENT_START_DOC event. If you are interested where the PDF file is ready so you can do further actions with it, you should wait for the NOVAPDF_EVENT_FILE_SAVED event.