groff
[Top][All Lists]
Advanced

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

RE: [Groff] Printing on Legal size Paper w/ version 1.17.2


From: Alejandro Lopez-Valencia
Subject: RE: [Groff] Printing on Legal size Paper w/ version 1.17.2
Date: Thu, 12 Feb 2004 18:56:53 -0500

Jack Dennon wrote:
> On Tuesday 03 February 2004 17:18, I wrote in answer to Peter Dominguez:
>> Upgrade to groff 1.19 and then you'll be able to do things such as:
>>
>>      groff -Tps -dpaper=legal -P-plegal -P-l -ms foo.ms > foo.ps
>>
>> as documented in groff_tmac(5) and groff_font(5). No more
>> paperlength hacks anymore :-)
>>
>> ____________________
>
> Is there a place where the
> groff 1.19 distribution can
> be ordered on CD?

Hi, I guess Peter wanted to reply to the list but he sent me a personal
reply instead, something we all do at least twice a week. Then my automatic
archiving routine eat up this message from my main inbox. :-)

If Jack can't upgrade easily to groff 1.19, I think Peter's solution to this
problem is of interest to him (and it is worth having in the archives
anyway).

"""
Hi Alejandro,

Thank you for your reply!.  Going to groff 1.19 is not an option because I
have committed myself to stay in step with SuSE Linux Server releases.
System wide (including SuSE 9.0) they don't go beyond groff 1.17.2.  I saw
the functionality in 1.19 and opened a ticket requesting just that, this is
how I know it's not available unless I did it myself, making the system
non-standard.

However, I did actually solve the problem in 1.17.2 by seeing the 1.19
solution in the mail archives.

You suggested:

groff -Tps -dpaper=legal -P-plegal -P-l -ms foo.ms > foo.ps [1]

legal.tmac wasn't there so I copied a4.tmac and made the necessary changes
to make legal.tmac. The -P-plegal also isn't there; however -P-g is there (g
is for guess) and it recognized the papersize and it worked.

So I was able to get by with:

groff -Tps -dpaper=legal -P-g -P- FILE.roff > foo.ps (I manually source in
my copy of the mm macros)

So I am 'in business and await upgrading to version 1.19.

Thanks again,

Peter
"""

Alejo

[1] Which contains a typo committed in hastiness, left as exercise to the
reader :-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]