-
Hi, I think I have found the solution. If you are using the code: REPEAT SLEEP(1000); WaitTime += 1000; IF WaitTime = 60000 THEN ERROR('Timeout error while waiting for PDFCreator.cIsConverted while printing for customer %1!', "No."); UNTIL PDFCreator.cIsConverted; to determine if PDFCreator...
-
I have an issue with PDFCreator. This issue seems to be funny, as it is an intermittent problem that happens unexpectedly and without reason. Could also be the way I wrote my code.... I have written something that saves customer statements into pdf files in a folder. Each statement to 1 customer is 1...
-
Hi, I think I have found the solution. If you are using the code: REPEAT SLEEP(1000); WaitTime += 1000; IF WaitTime = 60000 THEN ERROR('Timeout error while waiting for PDFCreator.cIsConverted while printing for customer %1!', "No."); UNTIL PDFCreator.cIsConverted; to determine if PDFCreator...
-
I have an issue with PDFCreator. This issue seems to be funny, as it is an intermittent problem that happens unexpectedly and without reason. Could also be the way I wrote my code.... I have written something that saves customer statements into pdf files in a folder. Each statement to 1 customer is 1...
-
[quote user="Erik P. Ernst"] So all in all you will still say that this one is the best one which is currently available? Especially in Citrix environments? [/quote] Better to say is that I have been able to reolve all issues with it, and it works very reliably. I am sure there is better out...
-
PDF Creator is actually the name of the program. http://sourceforge.net/projects/pdfcreator/ Its not bad as PDF generators go, though it does have a couple of issues. Three common ones. No support for Vista. Strange quirks with some versions that tend to act differently, so it important that you compile...
-
[quote user="Fezih5"] Thanx i think it has worked as required. But have to try on computers of different speed. Otherwise i appreciate. Great [/quote] The problem is not just the speed of the computer but also the size of the report. Anyway go with the solution that works for you.
-
[quote user="sander7"] REPORT.RUNMODAL(ReportID,FALSE,TRUE,customer2); // I assume this REPORT.RUNMODAL is where the actual pdf is created... // Then insert the SLEEP here. SLEEP(1000); // This will give a 1 sec sleep, maybe you need more, but keep it as short as possible. AttachFile := FileFolder...
-
[quote user="David Singleton"] Try this: IF NOT PDFFile.OPEN(AttachFileName) THEN BEGIN Window.OPEN('#1############# - @2@@@@@@@@@@@@@@'); Window.UPDATE(1,'Creating PDF...'); REPEAT Window.UPDATE(2,Counter); Counter += 1; SLEEP(100); UNTIL PDFFile.OPEN(AttachFileName) OR (Counter...
-
Try this: IF NOT PDFFile.OPEN(AttachFileName) THEN BEGIN Window.OPEN('#1############# - @2@@@@@@@@@@@@@@'); Window.UPDATE(1,'Creating PDF...'); REPEAT Window.UPDATE(2,Counter); Counter += 1; SLEEP(100); UNTIL PDFFile.OPEN(AttachFileName) OR (Counter > 10000); // FileDirectory + '...