
Exiting Office application whilst printing in background.
Here is a way... Set "app.Options.PrintBackground" to false and
"app.ActiveDocument.PrintOut" won't return until completes printing. So you may
simply print step-by-step.
Set app = Wscript.CreateObject("Word.Application")
' app.Visible = true
app.Documents.Open("D:\TEMP\t\test.doc")
app.Options.PrintBackground = False
app.ActiveDocument.PrintOut
Regards,
Captain Cerebrum
Innovative stuff for IE4 and HTML Help authoring
http://www.meadroid.com/wpm/
FREE ScriptX: Dynamic Event Binding, Printing
http://www.meadroid.com/scriptx
Word, Excel, etc.
Quote:
>what app are you priting from?
>-cap.