Merging pages into a single PDF