cClose method

cClose not wait enough time to allow to create the PDF file. I test the cCountOfPrintjobs property, like many others, and doesn't work. The question is there any reliable way to close the printer without lost the PDF in the creation process? What is the correct way to use it?

You can check the event eReady.

What property or method trigger that event? What say to me that event ?