Is it possible to print existing pdf documents (located server side) directly to a client printer without using a viewer? Scenario: I have a list of reports on page where the client can check which reports they would like printed. Ideally, the print command would send all the selected reports (pdf doc) directly to a printer instead of having to display the reports in an adobe viewer. Ideas, suggestions, hints? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi Ed, On Mon, 2009-03-30 at 08:14 -0700, EdTaupier wrote:> Is it possible to print existing pdf documents (located server side) > directly to a client printer without using a viewer?In a word, no. At least not to my knowledge. It''s a security thing. Otherwise I could, knowing the address of your printer, mount a DOS attack against your network. HTH, Bill --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
yeah, I understand the network restrictions, etc. so I figured there wasn''t any direct, easy way. Could it be possible to tie in the printing of these reports to the standard browser print function? I guess the main point of interest for me is to not have to display all the reports before printing them unless the client wished to do so. Thanks. On Mar 30, 1:06 pm, bill walton <bwalton...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi Ed, > > On Mon, 2009-03-30 at 08:14 -0700, EdTaupier wrote: > > Is it possible to print existing pdf documents (located server side) > > directly to a client printer without using a viewer? > > In a word, no. At least not to my knowledge. It''s a security thing. Otherwise I could, knowing the address of your printer, mount a DOS attack against your network. > > HTH, > Bill--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, 2009-03-30 at 10:12 -0700, EdTaupier wrote:> yeah, I understand the network restrictions, etc. so I figured there > wasn''t any direct, easy way. Could it be possible to tie in the > printing of these reports to the standard browser print function?<body onload="window.print()"> I> guess the main point of interest for me is to not have to display all > the reports before printing them unless the client wished to do so.The above assumes you''ll display each report but display will automatically invoke printing. AFAIK, that''s as good as it gets. HTH, Bill --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---