Also Guys if you want to to get your PDF View as it looks in your Web Page copy the following code in your config/initializer/pdfkit.rb(create this file in initializer folder)
PDFKit.configure do |config|
config.wkhtmltopdf ='/usr/local/bin/wkhtmltopdf'
config.default_options = {
:encoding=>"UTF-8",
:page_size=>"Ledger",
:zoom => '1.3',
:disable_smart_shrinking=>false
}
end
Plese check this link for more ":page_size "attributes
http://stackoverflow.com/questions/6394905/wkhtmltopdf-what-paper-sizes-are-valid
And discover new options by visiting this link
http://madalgo.au.dk/~jakobt/wkhtmltoxdoc/wkhtmltopdf-0.9.9-doc.html
Hope This all will help you.
Thanks.