Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Skipping and dups when printing fillable pdfs
Message
 
 
To
23/03/2010 11:02:23
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01456159
Message ID:
01456550
Views:
61
>Would 12 seconds be better? A faster printer? I was going to try it on a faster machine. Now, I don't think that will help.
>
>How do I know when printing is finished?
>
>I have to resolve this problem. What do you think?
>
>
As I suggested, add a do while loop right after shellexecute testing empty(sys(2000,'myfileName'))

once it's not empty, it means file is created. Alternatively you can try to open this file with fopen and see if the handle > 0.

Though I see that you're trying to print directly, not to create a file - this is a bit trickier.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform