Re: cropping and zooming a postscript document



Jeffrey H. Coffield wrote:
torn wrote:
I have a postscript document whose content is positioned on the upper
left corner of the pages and uses only 2/3 of the *** (circa). I'd
like to zoom (and center) the used part of the page in order to make if
fit the whole page.

If you can edit the postscript document then add

72 144 translate 1.2 1.2 scale

I already solved with pstops (thank you Carl). Your solution is
interesting, but I didn't figure where to put the commands exactly.

My document starts this way:

%!PS-Adobe-2.0
%%Creator: dvips(k) 5.96.1 Copyright 2007 Radical Eye Software
[...] many other lines starting with %% (comments?)
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
N}B/A{dup}B/TR{translate}N/isls false N/vsize 11 72 mul N/hsize 8.5 72
[...commands, commands, commands]

I tryed to put your commands before /TeXDict but I didn't notice any
difference. I also tryed to put a / before the commands, but this way
ghostview just didn't show me anything at all.

Thank you,
p.
.


Quantcast