[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: printing landscape PDFs



On Wed, 31 Jul 2002 16:58:21 -0700 Thanasis Kinias
<tkinias@optimalco.com> wrote:

> pstops seems to be the one, but the man page isn't exactly
> transparent.

It's all there, though. The examples at the bottom are key to grokking
the beast :)

> It appears to want 'pstops L infile.ps outfile.ps' (or R to rotate the
                               ^^^^^^^^^^^^^^^^^^^^
No need, it can read from stdin and write to stdout.

> Do you have handy what switches you used?

Try: cat somefile.ps | pstops "1:0L(29.7cm,0)" | gv -

and see if you like the result. When you're finished, substitute the
"| gv -" part with "> result.ps"

Main points to keep in mind:

1) The origin (0,0) for *everything* is the lower left corner. The
rotation occurs around that point;

2) So, after a rotation, you need to correct the placement of the page
contents, in this case, dragging it to the right (positive values) the
amount of an A4 page height.

3) If you scale the image (not in this case), you must remember it also
occurs with respect to the origin point.

Sweat it out. It's worth it, and more. These tools are also available
for Windows systems, they can "save your life" there as well.

Good luck.

-- 
Carlos Sousa
http://vbc.dyndns.org/



Reply to: