5

I want to print a PDF file with all pages scaled down equally (to, say, 70 %). The scaled-down pages should then be left-aligned on the printing paper.

This doesn't seem to be possible with lpr alone. With pdfjam I can scale the pages (--scale 0.7) but I don't know/see any option to align the scaled pages. A negative offset (like --offset '-3cm 0cm') doesn't work.

  • Negative pdfjam offset works for me. There may be something special about your PDF file or you did something wrong. – vinc17 Jul 27 '14 at 17:37
  • very strange, --offset "-5cm 0cm" does nothing, -9.5m 0cm does nothing either, but -10cm 0cm —— BANG 10 cm offset. what the hell? also: the content is then off-page. I think I need to change the paper size or something like that? – dom0 Jul 27 '14 at 17:51
  • What page size is the file? Providing a example file may also help. – Wilf Jul 27 '14 at 18:14
  • The original page size is A4 (din a4) and I also want to print it on A4. So for testing purposes any A4 pdf file will work, really. Or actually any standard-sized pdf, given I want to print pdf with $pagesize out with $pagesize, just transformed like described: scaled down, and aligned to the left. – dom0 Jul 27 '14 at 18:21
5

Ok, got it. The key to success is to explicitly specify paper size.

Example, original PDF has DIN A4 page size, then

pdfjam --a4paper --scale 0.5 ---offset "-7cm 0cm" -- inputfiles

does the trick. I'm not sure why -x with x<10 didn't work before.

  • I believe the offsets not working might have been due to automatic margin-trimming being enabled in my PDF reader (e.g. in Okular View->Trim View->[x] Trim Margins). – dom0 Jul 4 '18 at 20:12

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.