how to print.

A submit action shows me the show.html.erb page.
How to print this page to a printer?
I have to use javascript print() method?

Msan Msan wrote:

A submit action shows me the show.html.erb page.
How to print this page to a printer?
I have to use javascript print() method?

Yup. (Well, unless you want to use Java applets controlling your
printer, but I can't think why you would. :slight_smile: )

Best,

Or of course the user can select File, Print in the browser.

Colin

Colin Law wrote:

A submit action shows me the show.html.erb page.
How to print this page to a printer?
I have to use javascript print() method?

Or of course the user can select File, Print in the browser.

Right. The JS print() method just automates that.

Colin

Best,