【发布时间】:2018-02-17 02:17:59
【问题描述】:
我的代码
var options = {format:'A3',border:{top:'30px',bottom:'30px',left:'10px'}}
pdf.create(html,options).toBuffer(function(err, buffer){
res.type('application/pdf');
res.end(buffer, 'binary');
});
这总是以恒定的高度呈现页面。 如何设置页面高度? 谢谢!
【问题讨论】: