Whats The Point Of PDF Creator?
Hi all,
This may be contentious but what the heck.
I posted a request in the Help forum to try to find out a definitive, robust solution to the problem of PDFCreator hanging when cClose is executed ie one which does not rely on putting "wait" statements all over your code and hoping. I have tried everything I could think of but to no avail. There seem to be many instances of other people reporting the same issue from several versions ago but the problem still doesnt appear to be solved in the latest version (0.9.5).
If the product cant be used without hanging and there is no clear solution, whats the point of continuing distributing new versions without first fixing that?
If this cant be solved does anyone know of an alternative free solution which will work with VB macros?
Hi Frank,
I tried your code and the problem seemed to get better. Where my original code (without the sleeps between PDFCreator commands) hung 100% of the time, your code hung about 50% of the time (still on the cClose command). I added an extra 1 second sleep before the cClose command and this seemed to improve the sitaation on approx 20 or so runs through the macro.
I also converted to late binding to see if that changed anything but still same problem.
My problem is that if this problem is timing dependant then I am not confident that the problem is cured once and for all by adding sleep commands. If I print more pages, or a page with more graphics, or run the code on a faster/slower machine will the problem reappear? The solutions with sleep commands are not fixing the root cause of the problem (ie that the cClose command hangs) they are simply trying to mask the symptom.