I see that the wkhtmltopdf supports multiple HTML files as input
$ wkhtmltopdf --extended-help
Name:
wkhtmltopdf 0.9.9
Synopsis:
wkhtmltopdf [OPTIONS]... <input file> [More input files] <output file>
Description:
Converts one or more HTML pages into a PDF document, *not* using wkhtmltopdf
patched qt.
So basically I can pass a list of different HTML inputs to be rendered in one PDF.
I was wondering if this is also supported in this library but I suppose it's not (I haven't found it anyway).
So what I would do is basically something like
val pdf = Pdf(PdfConfig.default)
val os = new ByteArrayOutputStream
pdf.run(Seq(template1, template2, template3), os)
Have similar problem, is there a way to add new pages to the same pdf file?
val pdf = Pdf(PdfConfig.default)
val os = new ByteArrayOutputStream
pdf.run(template1, os)
pdf.run(template2, os)
Hi @cloudify,
I see that the
wkhtmltopdf
supports multiple HTML files as inputSo basically I can pass a list of different HTML inputs to be rendered in one PDF. I was wondering if this is also supported in this library but I suppose it's not (I haven't found it anyway).
So what I would do is basically something like
to be able to generate the correct command line.
What do you think? Is that possible?
Thanks