nroff and mm questions

John Canning john at banzai.UUCP
Sun Jun 4 09:57:46 AEST 1989


In article <38 at docwrk.UUCP> srh at docwrk.UUCP (Steven R. Houser) writes:
>I have a couple of questions about nroff and the mm package:
>
>1) Is there any way to keep nroff from printing an extra blank page at the
>   end of the file?
>

It sounds like you are sending things to the parallel printer port.
The driver on the regular (or cooked) parallel port places a form
feed at the end of the output automatically.  nroff already spaces
out to the end of the file (nroff doesn't believe in form feeds),
so with the extra form feed from the driver, you get an extra sheet
of paper.

If you send things to /dev/rawlp instead of /dev/lp, then your extra
sheet should go away.

On our machines, we have moved lp to lp.cooked, and linked rawlp to
lp.  We do this by logging in as root and typing in the following:

	mv /dev/lp /dev/lp.cooked
	ln /dev/rawlp /dev/lp

One other "feature" of the printer driver is that it truncates things
after 120 characters.  This "feature" was finally documented in the
manuals in Unix V3.5.

John Canning					...uunet!uvm-gen!banzai!john
The People's Computer Company			...attmail!banzai!john
Williston, Vermont
802-864-0747



More information about the Comp.sys.att mailing list