/**
* Script: WordPrint.js
* Purpose: Print a Word Document
* Author: Daren Thiel
* Date: 22 November 1998
* Web: http://www.winscripter.com
* Note: Rename this file WordPrint.js
* This is a modified example from the Auto97.hlp file
**/
/* Create Word Object */
word = new ActiveXObject("Word.Application");
/* Make is Visible */
word.Visible = true;
/* Open the desired file */
word.Documents.Open("c:\\temp\\HelloWorld.doc");
/* Set Options */
word.Options.PrintBackground = false;
/* Start Printing */
word.ActiveDocument.PrintOut();