oAutomation = CREATEOBJECT("Word.Basic") oAutomation.FileOpen(cFileName) oAutomation.FilePrint oAutomation.FileQuit RELEASE oAutomationThis code works fine, except that when the application hits the
oAutomation.FileQuit
command, I get a dialog box that says that quitting Word while printing will cancel my print job. On the other hand, if I comment the FileQuit command, WinWord stays in memory (checked using NT's Task Manager).