From: Garthy D Date: 2011-12-12T09:57:57+09:00 Subject: Re: Send rtf files to printer Oh, I almost forgot: A good starting point is to look into the Ruby library Win32OLE. You can do all sorts of fun things with it. :) On 12/12/11 11:24, Garthy D wrote: > > Hi Glenn, > > Some options: > > - Google "batch print rtf". > - More directly relating to Ruby: Google "ruby automate word" (this is > probably your best bet). > > If these don't suffice, AutoIT is good for driving generic Windows GUIs. > I've also used Ruby to drive AutoIT before. It took a bit of messing > about to get working how I wanted it, but it was extremely useful once > working. I used this setup for mass installs on different machines in a > short time window when a GUI install was the only viable option. > > It's been a while since I've played with this sort of stuff, but most of > the resources from the searches above look good. :) > > I hope this helps. > > Garth > > On 12/12/11 11:10, Glenn wrote: >> Hi, >> >> I have a hundred or so rtf files and I need to print them. I'd like to >> use Ruby to do this. My guess is that I'll have to open MS Word -- the >> only word processor that I have available where I work -- and send the >> rtf file to the printer through Word. But maybe there's a better way >> to do this? >> >> >> Any suggestions would be appreciated. >> >> >> Thanks! >> >> Glenn >> > >