....
.. .Printout(0)
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