Would it be possible to let plugins.pdf_output.endMetaPrintJob() give back a true/false message?
Reason: I write a temporary file with the content of the created pdf. I then pick up that pdf right away but I often have a broken pdf because it looks like the pdf is not written completely yet…
I tried to avoid this by setting an application.sleep() method but it depends on the workload of the client/server how long it takes to write that file completely. I have now played with 1000 to 5000 miliseconds but I don’t like it since it doesn’t always work…