Bill Walton wrote:
> On Fri, Aug 6, 2010 at 9:09 AM, Marnen Laibow-Koser
> <[email protected]> wrote:
>> Bill Walton wrote:
>> [...]
>>> At any rate, that's not relevant until you get the pdf
>>> into the user's browser. �To do that you'll probably use send_file
>>> which, iirc, will trigger a dialog that asks the user whether they
>>> want to save or print the file.
>>
>> I think that would be browser-specific. �Wouldn't send_file just make
>> the browser act the same way it would when it received a static PDF
>> file?
> 
> Yes it would.  And 1) you're right - the options probably are
> browser-specific, and 2) the options I was thinking of are save or
> open, not save or print.  And further, the javascript option wouldn't
> work either since the pdf would either replace what was in the window,
> open a new one, or open the file in Reader.  My bad.  Responding
> before caffeine kicks in is dangerous ;-(

Understood.  Next time wait till before the caffeine kicks in before 
posting to the list. :)

> 
> Best regards,
> Bill

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to