Por esta entrada de blog , use identify
da ImageMagick:
$ identify test.ps test.ps PS 609x1528 609x1528+0+0 PseudoClass 256c 909kb 0.020u 0:01
Execute ps2pdf with the -dDEVICEWIDTHPOINTS and -dDEVICEHEIGHTPOINTS arguments
$ ps2pdf -dDEVICEWIDTHPOINTS=679 -dDEVICEHEIGHTPOINTS=1598 test.ps test.pdf