I have a pdf document which covers half of an A4 page. Is there a way to duplicate the text/images of that document, such that I get a single page A4 document (pdf file) with twice the orginal content, one above each other? Since the original only covers half a page, no scaling should be necessary.


You can use a combination of pdfjam and pdftk to do this:

pdfjam --offset '0mm -148.5mm' half-a4.pdf --outfile other-a4.pdf
pdftk half-a4.pdf stamp other-a4.pdf output double.pdf

pdfjam is being used to shift the page down half a page (A4 = 297mm tall, and 297÷2=148.5). If you need to shift the other way, you'd use -110mm 0mm.

Then pdftk puts the two pages on top of each other.

half A4 (original) + other half A4 (generated) = double (generated)


You can try the command convert as follows:

convert -density 300 -define pdf:fit-page=A4 <in.pdf> <out.pdf>

Another solution:

pdfjam --outfile <output.pdf> --paper a4paper <input.pdf>

Main man page is here

Manual is here

Download here

Example commands are here

  • This did not do anything. The output.pdf file looks the same as the input. Sep 5 '18 at 20:42
  • Did you try the command convert something like convert -density 300 -define pdf:fit-page=A4 <in.pdf> <out.pdf>
    – user88036
    Sep 5 '18 at 20:51
  • Yes, I tried both, and neither worked for me. Sep 6 '18 at 12:52
  • Same results here... Apr 8 '19 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.