Suppressing page numbers in nroff
Mark Runyan
runyan at hpcuhc.cup.hp.com
Tue Jan 1 03:17:56 AEST 1991
>/ ntm1169 at dsac.dla.mil (Mott Given) / 7:18 am Dec 27, 1990 /
>
> I would like to know how I can suppress page numbers and the associated
> blank lines in a report being printed with nroff. I want to suppress the
> page numbers as I am running the nroff output through another program
> (an internal one at our agency) which controls the font selected for a laser
> printer. The font I select can print many more lines per page than the
> output of nroff, which leaves the nroff-produced page numbers in the middle
> of my pages.
I'm not able to tell you how to eliminate the page breaks using nroff
options, but I do have another suggestion. If possible, you might want to
use the -rL command line option. This will change the length of the page.
Determine what the page length should be for your printer with the given
font and use -rL to set the page length. This allows those page numbers
to actually fit in place properly and actually mean something.
> Also, is this the best newsgroup for this type of question, or is there a
> better one to post to?
This is as good a place as any. However, there is a comp.text that might
be able to provide a more complete answer.
Mark Runyan
More information about the Comp.unix.questions
mailing list