[opensuse] modifying postscript file (with pstops or other tool)
Hello: My program produces a postsctipt file which has a text block vertically in the middle of an A4 page. The text block fits A5 size in landscape mode. I would like to convert the ps file from A4 size portrait mode to A5 size landscape mode by shifting and/or rotating the text. I tried to use pstops tool: pstops -w14.8cm -h10.5cm 0\(0cm,-7.5cm\) file0.ps out1.ps or pstops -pa5 0L\(25.3cm,0cm\) file0.ps out2.ps but they did not work. It seems that pstops crops the original A4 size to A5, and only after cropping it shifts/rotates the page. Therefore the original text block is cut and only part of it goes to the new ps file. Is there any way I can solve this? Need not to be pstops. Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/04/2020 01.01, Istvan Gabor wrote:
Hello:
My program produces a postsctipt file which has a text block vertically in the middle of an A4 page. The text block fits A5 size in landscape mode. I would like to convert the ps file from A4 size portrait mode to A5 size landscape mode by shifting and/or rotating the text.
I tried to use pstops tool:
pstops -w14.8cm -h10.5cm 0\(0cm,-7.5cm\) file0.ps out1.ps
or
pstops -pa5 0L\(25.3cm,0cm\) file0.ps out2.ps
but they did not work. It seems that pstops crops the original A4 size to A5, and only after cropping it shifts/rotates the page. Therefore the original text block is cut and only part of it goes to the new ps file.
When I was trying to print envelopes, I got a similar result. Turns out I got horizontal and vertical switched. I don't know if it is your case, it's just an idea. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 06/04/2020 19:01, Istvan Gabor wrote:
Is there any way I can solve this? Need not to be pstops.
A couple of things come to mind. The first is why are you doing this in one step? Why not resize and rotate separately? The second is: is this editable using 'scribus' or similar? -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Anton Aylward
-
Carlos E. R.
-
Istvan Gabor