From: Armin Roehrl Date: 2004-02-12T19:50:45+09:00 Subject: Re: Printing through Ruby Sabyasachi Mustafi wrote: >Some days ago there were some threads about printing through ruby. Here is = > my bad solution. As I expect to make print outs in a easy but feature rich= >ed process as in Visual Basic 6.0 =0AVery frankly speaking that I want to l= >ove Ruby but always I compare it with the fast programming experience in Vi= >sual Basic. I hope it will not take too much time to get a Ruby IDE =0AI ma= >de a simple thing in ruby for printing to the printer.=0AMake the output in= > a file and then print it.=0A=0App=3DFile.open('C:\test.doc','w')=0App.pri= >nt "hello print"=0App.close=0Asystem('D:\Program Files\Microsoft Office\Off= >ice10\Winword "C:\test.doc"')=0A=0AIt > As long as you stick with Windows (sic), VRuby has an example printer.rb that you might want to look at. good luck, -A