0

I have a non-standard sized PDF (used for an 8cm-printer) and want to crop any white-space on the bottom (thus I want to keep the 8cm width and remove the bottom white space, in fact similar as you would use scissors in the analog world)

I have tried pdfcrop, which seems to not work with non-standard sized PDFs (the output of pdfcrop --margins 10 input.pdf output.pdf looks the same as the input) and I have tried pdfjam - the output of pdfjam --keepinfo --trim "10mm 10mm 10mm 10mm" --clip true --suffix "cropped" input.pdf produces an A4 file with missing information.

Most tools seem to assume that you want to keep the paper-size, which I don't want - I want to remove the bottom portion and reduce the height of the PDF accordingly.

Is there a way to do it?

  • I can't test this, but can you try pdfcrop --margins '10 10 10 -10' input.pdf output.pdf ? Note the minus sign for the last 10. If it works, I'll add an answer with the details. – Haxiel Dec 7 '18 at 8:08

Your Answer

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

Browse other questions tagged or ask your own question.