nroff page offset
Peter Fales
psfales at cbnewsc.ATT.COM
Fri Oct 6 08:34:20 AEST 1989
In article <189 at zebra.UUCP>, vern at zebra.UUCP (Vernon C. Hoxie) writes:
>
> Can someone give me a clue how I can offset the output of a manual page
> to the right about a half inch. Under the default settings, the page
> has a margin of about 3/4 inch on the left and 2 inches on the right.
> When I punch holes to insert the page in a notebook, the printing gets
> punched away and all that right margin is wasted.
>
> I have tried numerous variations on:
>
> nroff -Tfx-12 -rO14 -man compress.1 | lp
I have run into the same problem. Apparently, the man macros do not
pay attention to the O register. It is kind of messy, but the shell
script I use to format man pages with troff looks something like this:
( echo ".po 1i" ; cat $1 ) | troff -man ....
For nroff, the .po would be something like 15 if you wanted an offset
of 15 characters (1.5 inches on many printers).
--
Peter Fales AT&T, Room 5B-420
2000 N. Naperville Rd.
UUCP: ...att!peter.fales Naperville, IL 60566
Domain: peter.fales at att.com work: (312) 979-8031
More information about the Comp.sys.att
mailing list