option height doesn't work
Hello,
I'm trying to create long pdf page with height about 8000px, but the result as same as for current format, A4 - default.
gulp.task('pdf', function () {
var html = fs.readFileSync('build/index.html', 'utf8');
var options = {height: "8000px", base: "file:///D:/usr/www/template/pdf/build/img" };
pdf.create(html, options).toFile('build/businesscard.pdf', function(err, res) {
if (err) return console.log(err);
console.log(res);
});
});
What is wrong?
I also have same issue now. Have you ever resolved the issue ?
I was found the online service that can merge the pages pdfdu.com/pdf-pages-merge.aspx I home it helps you, but the problem is left, I tried other nodejs packages but with the same result.