(Ted Harding)
Hi Folks,
I seem to have hit a problem with pstops.
My source PS document has 35 pages, of which the first is printed at the size I want (call this "scale 1.0"), and the remaining 34 are printed at 4/5 of this size (in fact in order for "crop marks" to be printed in the corners of the pages). I want to scale up these latter pages so that they are on the same scale as the first.
This means scaling them up by a factor of 5/4 = 1.25 Call this "scale 1.25".
So I thought I could do this with
pstops -pa4 35:0@1.0,1@1.25,2@1.25,...,34@1.25 in.ps out.ps
(see 'man pstops' for why I thought this).
This didn't so anything, and I eventually sussed out that if I used scales less than 1 then it *did* apply those scale factors. E.g.
pstops -pa4 35:0@1.0,1@.8,2@.8,...,34@.8
then it applied "scale 0.8" to each page except the first, which thereby came out even smaller.
The clue for this discovery was the statement in 'man pstops' which said:
spec = [-]pageno[L][R][U][@scale][(xoff,yoff)]
The optional scale parameter scales the page by the fraction specified.
It was the word "fraction" that gave the clue!
So it seems I can't enlarge a page using 'pstops'!
Or can I? How to get "scale 1.25" (which eludes me) as well as "scale 0.8" (which works)?
(OK, I know that I would need to include offsets (xoff,yoff) as well, but let's get the scaling to work first!)
If works for me -- the (0,0) point is at the lower left corner though, so the result is shifted off to the upper right corner and clipped. If you include an (-2in,-3in) offset (or cm equivalent) you should move your image back into the viewable area. (You will then have to play around to get the exact (xoff,yoff) you need.) Hope this helps.
participants (1)
-
Mark Gray