manual cropping /CropBox [ left_x top_y right_x bottom_y ] /MediaBox [ left_x top_y right_x bottom_y ] joining/fixing PDFs with ghostscript gs -q -sDEVICE=pdfwrite -o joined.pdf [-dFIXEDMEDIA -sPAPERSIZE=a4] INPUT_FILES