2

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?

4
  • 1
    Could you post the ps file somewhere so we can try some things?
    – terdon
    Aug 3, 2013 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, 2013 at 17:39
  • 1
    @terdon - Sure, thanks! fazjaxton.net/files/LEDMatrix.ps
    – FazJaxton
    Aug 3, 2013 at 22:20
  • @mpy - I gave that a try, but it didn't help with clipping.
    – FazJaxton
    Aug 3, 2013 at 22:21

1 Answer 1

1

You can use the -g switch in this way:

ps2pdf -g5950x8410 file.ps 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.

1

You must log in to answer this question.

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