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:
00964200
Views:
24
Fantastic! Thanks Yuri

>
>....
>   .. .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
Mathias Banda

Time is longer than a rope.
Previous
Reply
Map
View

Click here to load this message in the networking platform