How to do printing in ROR?

View: New views
8 Messages — Rating Filter:   Alert me  

How to do printing in ROR?

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to do printing in ROR?

by Conrad Taylor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Nov 1, 2009 at 10:07 PM, Tushar Gandhi <rails-mailing-list@...> 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
 
--
Posted via http://www.ruby-forum.com/.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to do printing in ROR?

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Conrad Taylor wrote:

> On Sun, Nov 1, 2009 at 10:07 PM, Tushar Gandhi <
> rails-mailing-list@...> 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
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to do printing in ROR?

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Tushar Gandhi 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

Want to print content of the page?
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to do printing in ROR?

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to do printing in ROR?

by Conrad Taylor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Nov 1, 2009 at 11:46 PM, Priyanka Pathak <rails-mailing-list@...> wrote:

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:


Good luck,

-Conrad
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to do printing in ROR?

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Conrad Taylor wrote:

> On Sun, Nov 1, 2009 at 11:46 PM, Priyanka Pathak <
> rails-mailing-list@...> wrote:
>
>>
>>
> 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

Hi Conrad Taylor,
  I also suggest the same function as you provide for reference. It's
javascript function so, it's work with any programming language which
support the javascript.

- priyanka pathak
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to do printing in ROR?

by Norm Scherer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tushar Gandhi 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
  
Do you want to do the printing on the server system or on the client system?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---