Xref: utzoo comp.sys.att:6601 unix-pc.general:2982 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!uvm-gen!banzai!john From: john@banzai.UUCP (John Canning) Newsgroups: comp.sys.att,unix-pc.general Subject: Re: nroff and mm questions Summary: lp vs rawlp Message-ID: <1155@banzai.UUCP> Date: 3 Jun 89 23:57:46 GMT References: <38@docwrk.UUCP> Reply-To: john@banzai.UUCP (John Canning) Followup-To: <38@docwrk.UUCP> Distribution: usa Organization: People's Computer Company, Williston, VT Lines: 31 In article <38@docwrk.UUCP> srh@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