require "win32ole"docfile = "yourDoc.doc"word = WIN32OLE.new "Word.Application"word.visible = trueword.documents.open docfileword.options.printBackground = falseword.activeDocument.printOutword.quit