Print link or button?

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

creating an onclick=“window.print();” should allow you to do this.

mark

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs