1
如何覆蓋動態pdfkit
配置如何在pdfkit,RB(pdfkit寶石)動態地設置PDF頁面寬度
PDFKit.configure do |config|
config.wkhtmltopdf = '/path/to/wkhtmltopdf'
config.default_options = {
:page_size => 'Legal',
:print_media_type => true
:page_width=> " i just want to change this value depends on record count"====> issue
}
或者是它設置分鐘頁面的寬度和最大頁面寬度的任何方法?