Merge contents from multiple URLs in single PDF with headless Chrome

I use the print-to-pdf feature of headless Chrome to create a PDF of a given web page. What I would need, though, is to get two separate web pages into one single PDF file. Is that possible using headless Chrome?