How to do printing in ROR?

Hi,

I want to do printing in ROR?

How should I do that?

Is there any API’s are present?

Any help appreciated?

Thanks,

Tushar Gandhi

Please explain what you mean by printing.

-Conrad

Conrad Taylor wrote:

Hi, I want to do printing in ROR? How should I do that? Is there any API's are present? Any help appreciated? Thanks, Tushar Gandhi

Please explain what you mean by printing.

-Conrad

Hi, I am using rails 2.2. I have one document, that I want print through printer through my application.

Is that possible? Thanks, Tushar Gandhi

As per your post, if you want to print page of application through rails

than just give javascript:window.print(); on any label onclick.

It will pop up the printer window & based on your printer selection. you

get print of page content.

Hope this will help you.

Thanks,

Priyanka Pathak

Hi, this isn’t a Rails related question but here’s one way to do it in Javascript:

http://www.web-source.net/web_design_tips/print_web_page_button.htm

Good luck,

-Conrad