This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Can the webpage-to-pdf api work with a url?

alfredmorehouse wrote on 2017-03-15:
With the api, I'd like to print to pdf all posts under a blog - there are around 50 posts. Is that possible with the api or another method? What do you recommend?
support wrote on 2017-03-27:
Hello,

The API can convert only a single HTML document to a single PDF. An option for you would be to generate a separate PDF for each blog post and then join the PDFs using some third party tool. We frequently use and can recommend a command line tool called pdftk.

-- https://www.pdflabs.com/tools/pdftk-server