From: Joe Van Dyk Date: 2005-12-13T17:16:59+09:00 Subject: Re: pdfwriter printing On 12/12/05, Pe�a, Botp wrote: > Hi All, > > pdfwriter rocks but me brain does not :) > how does one print a pdf object using ruby? i can create it fine using #save_as. i was looking for something like #print... > > i'd like to print it in windows and linux env. > > thanks and kind regards -botp Doubt you can print straight from Ruby. However, in Linux and maybe OS X, you can execute shell commands that will print stuff. `lpr #{ file_name_of_pdf_file }` should print the file to some default printer. No clue about Windows.