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?



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