General information
Category:
COM/DCOM and OLE Automation
>Tamar, (great book on Microsoft Office Automation BTW)
>
>Code as follows
>
>*!* Word section
>oWord = CreateObject([Word.Application])
>oDocument = oWord.Documents.Open(lcFilename)
>
>oWord.Options.PrintBackGround = .F.
>oDocument.PrintOut()
>oDocument.Close()
>oWord.Quit()
>RELEASE oWord
>
I just tried your example (except that I created a new document and threw some text in it), and it printed without any UI at all. What exactly are you seeing?
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only