One option might be to invoke a Word macro from VFP. For instance, the Word macro might print, then quit.
>Hi:
>
>Using Word as an automation server, is there a way to make the communication between VFP client and Word server synchronous? IOW, have Word wait for each line of code to finish before moving on to the next?
>
>The problem is when I send something to print. While it is printing the code keeps running and skips over Quit command. I want to print then Quit Word. Right now it tries to quit while still printing.
>
>Thanx,
>Charlie
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)