Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to convert A4-sized PS documents to PDF. I am using PS2PDF, but it clips off the right side of the (landscape) page. Some googling has revealed that ps2pdf always crops to letter-sized pages by default. I found the option -dEPSFitPage, but it doesn't seem to work on my PS; the output is still clipped. How can I make the output PDF be the correct size?

share|improve this question
Could you post the ps file somewhere so we can try some things? – terdon Aug 3 '13 at 17:22
I remember that for some landscape PS files I have to use the -dAutoRotatePages=/All option. Worth a try?! – mpy Aug 3 '13 at 17:39
@terdon - Sure, thanks! – FazJaxton Aug 3 '13 at 22:20
@mpy - I gave that a try, but it didn't help with clipping. – FazJaxton Aug 3 '13 at 22:21
up vote 1 down vote accepted

You can use the -g switch in this way:

ps2pdf -g5950x8410 output.pdf

Add a 0 after the needed width and height. So, for instance, to have an A4 sized pdf page (595x841 points), you end up with 5950 and 8410 for width and height, respectively.

share|improve this answer
For reference, here is a list of different paper sizes in points:… – FazJaxton Aug 4 '13 at 14:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .