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?
1 Answer
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.
-
1For reference, here is a list of different paper sizes in points: gnu.org/software/gv/manual/html_node/… Aug 4, 2013 at 14:04
-dAutoRotatePages=/All
option. Worth a try?!