Hi Joshua ,

I did install wkhtmltopdf.

I have given pdfkit a try which is working very well if I give it an 
address like "http://google.com";.
Just don't know how to specify the address of a page from within my app.
Giving address like "http://localhost:3000/test"; is not working.

Here is the code for pdfkit:
     format.pdf do
        kit = PDFKit.new("http://google.com";)
        send_data(kit.to_pdf, :filename => "New.pdf", :type => 
'application/pdf')
      end

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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to