I am using PDF::writer to convert text to pdf files for printing. What I would like to do is to be able to print it without allowing the user to be able to read the files in pdf. What options do I have ? If I send the files directly to the printer will I have difficulty down the road with formatting text or embedding pictures in the printable document? Is there some workaround where I make the pdf "not readable" or "unopenable" (when downloading) ? Can I make the pdf password secure and not give the user the password and then only allow printing on the document? Thanks -- 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 -~----------~----~----~----~------~----~------~--~---
Anyone ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Jun 24, 12:13 pm, "alexey.Creopolis" <alex.creopo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Anyone ?I know nothing about pdf, but this sounds more than a little tricky, given that on most computers you can have a virtual printer that just creates a pdf of what you''re trying to print. That an the pdf is bound to be stashed in some temporary folder somewhere. Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I had two ready steps: 1. creating images from ROR application (tickets with order details) thru rmagick::svg module, 2. ruby script witch generate&print xls for me, by ROR requests, ("print xls" button from site) But goal now is to pring png images, witch cannot be done by (2) .. On Jun 24, 1:25 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Jun 24, 12:13 pm, "alexey.Creopolis" <alex.creopo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > Anyone ? > > I know nothing about pdf, but this sounds more than a little tricky, > given that on most computers you can have a virtual printer that just > creates a pdf of what you''re trying to print. That an the pdf is bound > to be stashed in some temporary folder somewhere. > > Fred--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I was informed of an approach : 1) create a page sized button (from form -> button) and give it a black background thereby obstructing each page of the pdf. 2) set the property of the button to "visible but not printable" This allows the button to obstruct the view but when you print it it is like the button is not even there. Now my task is attempting to find out if there is a pdf package that allows you to create form elements (pdf form elements) like buttons etc. because I am currently using pdf::writer and Austin Zeigler said he has no such functionality in there but recommends I write to pdf-writer''s google group. -- 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 -~----------~----~----~----~------~----~------~--~---