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/.
On Sun, Nov 1, 2009 at 10:07 PM, Tushar Gandhi < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Conrad Taylor wrote:> On Sun, Nov 1, 2009 at 10:07 PM, Tushar Gandhi < > rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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. > > -ConradHi, 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/.
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 GandhiWant to print content of the page? -- Posted via http://www.ruby-forum.com/.
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/.
On Sun, Nov 1, 2009 at 11:46 PM, Priyanka Pathak < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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: http://www.web-source.net/web_design_tips/print_web_page_button.htm Good luck, -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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Conrad Taylor wrote:> On Sun, Nov 1, 2009 at 11:46 PM, Priyanka Pathak < > rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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, > > -ConradHi 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/.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Tushar Gandhi wrote: <blockquote cite="mid:91ac422bdeddf0d9a277bd00b13c4505-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org" type="cite"> <pre wrap="">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 </pre> </blockquote> <font size="-1"><font face="Helvetica, Arial, sans-serif">Do you want to do the printing on the server system or on the client system?</font></font><br> <br> --~--~---------~--~----~------------~-------~--~----~<br> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. <br> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <br> To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <br> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en<br> -~----------~----~----~----~------~----~------~--~---<br> </body> </html> <br>