How to create a single pdf from multiple html using pdfreactor

105 Views Asked by At

In my code I have a dynamic list of html strings and want to create a single pdf out of it using pdfreactor. The configuration.setMergeDocuments method only accepts pdf files as input, not html. What is the best way to get a single pdf out of multiple html strings using pdfreactor?

1

There are 1 best solutions below

0
On BEST ANSWER

I have contacted support. Unfortunately there is no way (yet) to create a PDF from multiple HTMLs. You have to create all PDFs separately and then use a workaround with an empty HTML and the overlay option to merge the previously created PDFs.