cpdf -combine-pages over.pdf under.pdf -o out.pdf
Page attributes (such as the display rotation) are taken from the “under” file. For best results, remove
any rotation differences in the two files using -upright first, or by adding -prerotate
to the command.
The -relative-to-cropbox option takes the positioning command to be relative to the
crop box of each page rather than the media box.