From: Sabyasachi Mustafi Date: 2003-09-04T22:08:57+09:00 Subject: Printing in Ruby I made a simple thing in ruby for printing to the printer. Make the output in a file and then print it. pp=File.open('C:\test.doc','w') pp.print "hello print" pp.close system('D:\Program Files\Microsoft Office\Office10\Winword "C:\test.doc"') It works fine in Windows or Linux with the system. But I don't know if there is any other simple solution. Actually I need to make a report, so there are some formatted text, also different sizes of papers etc. Any other solution for this? Regards, Sabyasachi Mustafi ___________________________________________________ Law meets Electronics; Veena Weds Sanjay. Rediff Matchmaker strikes another interesting match !! Visit http://rediff.com/matchmaker?1