From owner-freebsd-questions Wed Nov 10 13: 7:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id CF16214E02 for ; Wed, 10 Nov 1999 13:06:55 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id HAA12971; Thu, 11 Nov 1999 07:34:50 +1030 (CST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991110160408.22046@mojave.sitaranetworks.com> Date: Wed, 10 Nov 1999 16:04:08 -0500 From: Greg Lehey To: Ariel Burbaickij Cc: Mark Ovens , Kent Stewart , Sheldon Hearn , Giorgos Keramidas , freebsd-questions@FreeBSD.ORG Subject: Printing (was: Printing man pages (was: Will the battle be won?)) Reply-To: Greg Lehey References: <19991110153005.34225@mojave.sitaranetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Ariel Burbaickij on Wed, Nov 10, 1999 at 09:43:23PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 10 November 1999 at 21:43:23 +0100, Ariel Burbaickij wrote: > > > On Wed, 10 Nov 1999, Greg Lehey wrote: > >> On Wednesday, 10 November 1999 at 20:15:28 +0000, Mark Ovens wrote: >>> On Wed, Nov 10, 1999 at 11:19:52AM -0800, Kent Stewart wrote: >>>> >>>> >>>> Greg Lehey wrote: >>>>> >>>>> On Wednesday, 10 November 1999 at 18:27:53 +0100, Ariel Burbaickij wrote: >>>>>> On Wed, 10 Nov 1999, Sheldon Hearn wrote: >>>>>>> On Wed, 10 Nov 1999 16:21:26 +0100, Ariel Burbaickij wrote: >>>>>>> >>>>>>>> So all this gory details provided about all relevant files do you hope >>>>>>>> we will master the problem with man pages on my printer printed correctly? >>>>>>> >>>>>>> You keep changing the subject line, so it's difficult to follow the >>>>>>> thread. If you have a postscript printer, use groff to print the >>>>>>> manpages to your printer, as in >>>>>>> >>>>>>> zcat /usr/share/man/man1/ls.1.gz | groff -mdoc | lpr >>>>>> >>>>>> The problem is:I do not use PS-printer i am poor student(insert futher >>>>>> lamentations here ). I use Canon bj200. >>>>> >>>>> $ zcat /usr/share/man/man1/ls.1.gz | nroff -mandoc | lpr >>>>> >>>>> -mandoc will format all man pages; -mdoc only does some of them (-man >>>>> will do the others). Note also nroff instead of groff. >>>> >>>> I vote this hint as the best of the day. I have wanted to print man >>>> pages for 8 months but it never had a high enough priority. It >>>> remained a low level gripe. I could print Windows help files but not >>>> FreeBSD. I wanted a hard copy of the user-ppp man page printed and >>>> nothing worked. I don't have a ps printer. If it had been a high >>>> enough bother, I would have asked the list but it never made it that >>>> high. >>>> >>>> I did a >>>> >>>> zcat /usr/share/man/man8ppp.8.gz | nroff -mandoc > /usr4/ppp.txt >>> >>> Hmm, but that way you get all the double printing stuff: >>> >>> N^HNA^HAM^HME^HE >>> p^Hpp^Hpp^Hp - Point to Point Protocol (a.k.a. user-ppp) >>> Try: >>> >>> zcat /usr/share/man/man8/ppp.8.gz | nroff -mandoc | col -b > /usr4/ppp.txt >> >> That depends on how you look at it. Normally you'd use less or more >> to look at it, and they convert this junk into bold print, so it's an >> advantage not to remove the ^H stuff. >> Daemon means obviously seriously with me the suggested method > > with col -b does not work either.With or without all these > bells and whistles such as bold printing. I got same results. Don't try my patience. I asked you some questions. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message