require "win32ole" docfile = "yourDoc.doc" word = WIN32OLE.new "Word.Application" word.visible = true word.documents.open docfile word.options.printBackground = false word.activeDocument.printOut word.quit