groff
[Top][All Lists]
Advanced

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

Re: [Groff] setting a custom page length


From: Tadziu Hoffmann
Subject: Re: [Groff] setting a custom page length
Date: Fri, 2 Apr 2010 00:35:57 +0200
User-agent: Mutt/1.5.17 (2007-11-01)

> If I set .pl 15i the resulting document is 11i long and the
> bottom of my document is cut off How else should I define a
> custom length Using groff-1.18.1
>
> $ cat long_page_test
> .pl 15i
> this is the top
> .sp |14.5i
> this is the bottom
>
> $ groff long_page_test > long_page_test.ps
>
> If I change .sp |14.5i -> .sp |10.5i the text "this is the
> bottom" prints at the bottom of the page

With ".pl 15i" you just tell troff to format the text for
a page this long.  To actually use paper of that size, you
must also tell grops (the device postprocessor) to request
the printer to switch to paper of that size:

  bash$ groff -P-p15i,8i long_page_test >long_page_test.ps






reply via email to

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