Re: cropping and zooming a postscript document
- From: Ilya Zakharevich <nospam-abuse@xxxxxxxxx>
- Date: Fri, 27 Jul 2007 04:14:54 +0000 (UTC)
[A complimentary Cc of this posting was sent to
Carl Lowenstein
<cdl@xxxxxxxxxxxxxxxx>], who wrote in article <f8bpjp$8nn$1@xxxxxxxxxxxxxx>:
AFAIK, pstops crops along the left and top borders. (Well, it crops
along other two borders too, but one can work around this by
specifying an appropriate page size.)
This is fine for the original poster, but not fine for my purposes.
Anyone knowing a way to shift the contents so that it is not cropped
along the left and top borders?
Can you expound a bit more on your purposes?
The output of pstops is fed to psnup. For psnup to "correctly" position
input sheets on the output sheet, some of the input sheets need to be
shifted "outside" of the "natural boundary".
[This all is a part of a largish Perl script which automatically puts
stuff on paper in the largest possible scale. It sniffs bboxes of
pages, judges the sizes of the first/even/odd pages, and positions
them on the output page basing in the sniffed info.]
It has been my experience that for reasonable parameters, pstops just
moves images about on the page without cropping them.
pstops always crop. And about what is "reasonable", I think I'm
better qualified to know what I need from pstops. 1/2 ;-)
This can cause problems when images overlap, since PostScript has
no transparency, and the second image to be written can cover part
of the first image.
It is not going to be a problem in my usage.
Thanks,
Ilya
.
- References:
- cropping and zooming a postscript document
- From: torn
- Re: cropping and zooming a postscript document
- From: Ilya Zakharevich
- cropping and zooming a postscript document
- Prev by Date: Re: analyzing too-large PDF's
- Next by Date: Re: analyzing too-large PDF's
- Previous by thread: Re: cropping and zooming a postscript document
- Next by thread: Re: cropping and zooming a postscript document
- Index(es):