S
Sabyasachi Mustafi
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
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