Ruby 打开 Word 文档并打印 2015/07/14 37767 清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>> 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