If you are using ubuntu, you can install pdfcrop:
sudo apt-get install -y pdfcrop
Despite its name, it pdfcrophas the ability to add fields:
pdfcrop --margin '29 0 29 0' input.pdf output.pdf
(Note: unit is 72 pp = 1 inch. 29 bp is approximately 1 cm.)
Then use pdfjamoffsets for the left and right pages to perform the trick.
pdfjam --twoside --offset '1cm 0cm' file.pdf
Note: pdfcrop has problems with some pdf files. (!!! Error: Ghostscript exited with error code 139!).
source
share