I have been looking in the documentation but can\'t find the answer. How can I specify the page size of my pdf document and what are the available page sizes? I keep on look
Pdkit accepts custom sizes:
PDFKit.configure do |config| config.wkhtmltopdf = `which wkhtmltopdf`.strip config.default_options = { :page_width => '1682', :page_height => '2378' } end
The sizes must be in milimeters (wkthmltopdf documentation).