From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] troff -man prints poorly Date: Tue, 26 Feb 2008 13:40:21 -0500 From: john@csplan9.rit.edu In-Reply-To: <599f06db0802261029x2d7751caxc61d2fd6f56da0d5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 6289d210-ead3-11e9-9d60-3106f5b1d025 > On Tue, Feb 26, 2008 at 7:22 PM, wrote: >> I've been writing a man page and wanted to see how it looks >> when formatted with troff and printed, so I tried: >> troff -man | dpost | lp >> only to find that the printout was extremely ugly. Words seem >> to have run together in some very strange ways; if I had a scanner >> handy I could show what I mean. Anyway, the same thing happens >> when I do: >> troff -man /sys/man/1/cat | dpost | lp >> but not when I do: >> troff -ms /sys/doc/asm.ms | dpost | lp >> >> Am I missing something simple and fundamental, or is troff/dpost >> just broken? >> > > I normally do: > > troff -ms bla.ms|lp -dstout| aux/download -H/sys/lib/postscript/font > -mfontmat|lp -H -d printername That has the same end result for me as just doing troff -man foo | lp John