Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print Status / Mode
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00963863
Message ID:
00963992
Views:
16
This message has been marked as the solution to the initial question of the thread.
....
   .. .Printout(0)   && or .Printout(.f.), continue while printing
    									
declare Sleep in Win32api integer
do while !empty(.. .Application.BackgroundPrintingStatus)
		=Sleep(1000)
enddo
......
>Hi all,
>
>I am doing this:
>
>**- Start Word
>loWord = CreateObject("Word.Application")
>
>**- Open a file
>loWord.Documents.Open("filename.ini")
>
>**- Print It
>loWord.ActiveDocument.PrintOut()
>
>**- Close document
>loWord.ActiveDocument.Close()
>
>**-Would like to confirm printing is done somewhere here then
>
>**- Quit
>**loWord.Quit()
>
>I would like to check word has completed printing before I quit.
>
>Any clues please?
>
>Thanks
>
>Mathias
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform