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)