creating an onclick="window.print();" should allow you to do this.
mark
On 7/3/06, Paul Jonathan Thompson <rails001@gmail.com>
wrote:>
> Is it possible to create an action that would sent a view straight to
> a printer or a button of some sort that would enable the view to be
> printed. Currently the user has to click on file and then on print in
> the browser to print. My users would like to be able to click on a
> link or button and have the view printed. Is such a thing possible?
> And how would one do it?
>
> Thanks,
>
> Paul
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Mark Van Holstyn
mvette13@gmail.com
http://lotswholetime.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060703/b3218b63/attachment.html