I have a scanned pdf of a book which is 366.96 x 624.6 pts according to pdfinfo. Taking 72 pts to the inch this makes the physical dimensions of the pdf about 5.1'' x 8.67''.

I printed it using Lulu.com, which has a template for a 6'' x 9'' book, but their margins screwed up the text and made it unreadable. Is there a way to shrink the pdf to arbitrary physical dimensions using the command line?

  • do any of the online sites offer you help? smallpdf.com/compress-pdf
    – pdc
    Jul 15, 2017 at 2:26
  • @pdc that site does a great job at compressing the digital file size, but I am concerned about the physical dimensions of the printout
    – JMJ
    Jul 15, 2017 at 2:36

1 Answer 1


The question turned out to be answered here. cpdf is a tool which can achieve the correct scaling via the command line, according to pdfinfo.

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.