[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] groff postscript output rotated 90 degrees in for a 4 x 2.5
From: |
Ted Harding |
Subject: |
Re: [Groff] groff postscript output rotated 90 degrees in for a 4 x 2.5 inch label? |
Date: |
Mon, 09 Jun 2014 12:31:37 +0100 (BST) |
On 09-Jun-2014 10:15:50 Ralph Corderoy wrote:
> Hi Mike,
>
> Ted wrote:
>> It is, however, possible to rotate parts of a page (keeping the pager
>> as a whole unrotated) if you are using PostScript output.
>
> Inspired by Werner's
> http://lists.gnu.org/archive/html/groff/2003-05/msg00042.html, I came up
> with
>
> $ cat mike.tr
> .pl 4.0i
> .ll 2.5i
> .po 0
> .nf
> .
> \X'ps: exec -90 rotate -\n(.p u 0 u translate'
> .sp -1 \" Undo vertical effect of \X.
> 10 Downing St
> London
> SW1A 2AA
> $
> $ groff -P -p4i,2.5i mike.tr >mike.ps
>
> No need for external psutils?
>
> Cheers, Ralph.
Which just goes to sow what you can do with groff!
Ted.
-------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Date: 09-Jun-2014 Time: 12:31:31
This message was sent by XFMail
-------------------------------------------------