Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: print a MS Word documentPostScript printer
; create word object... oWord = objectopen("Word.Application") ; set the documents object... oDocs = oWord.documents ; open a preset file... oDocs.open("C:\temp\test.doc") ;get active document oDoc = oWord.ActiveDocument ; make word visible... oWord.visible = @True ;Change to @False to hide oWord.PrintOut(::FileName="C:\temp\test.doc") oDoc.Save oDoc.Close oWord.Quit ObjectClose(oDoc) ObjectClose(oDocs) ObjectClose(oWord)
Article ID: W15664
File Created: 2003:05:13:11:29:24
Last Updated: 2003:05:13:11:29:24