Printing man pages without the fluff
I vaguely remember someone on this list mentioning a filter program which will take the bolds and other assorted fluff out of, eg., man pages, so they can be printed. I currently use a line like: zcat /usr/share/man/man3/getopt.3.gz | nroff -man | lpr -Plist which works fine for my dot matrix printer. However, it'd go a lot quicker if I could get rid of all the backspacing etc. used to print the (superflous to me) emboldening of text. Can someone remind me what that filter is called? -- Microsoft Palladium: "Where the hell do you think YOU'RE going today?"
On Thu, 27 Feb 2003 17:48:52 +0800
Derek Fountain
I vaguely remember someone on this list mentioning a filter program which will take the bolds and other assorted fluff out of, eg., man pages, so they can be printed. I currently use a line like:
zcat /usr/share/man/man3/getopt.3.gz | nroff -man | lpr -Plist
which works fine for my dot matrix printer. However, it'd go a lot quicker if I could get rid of all the backspacing etc. used to print the (superflous to me) emboldening of text.
Can someone remind me what that filter is called?
maybe col ? "man ascii | col -b > ascii.txt" -- use Perl; #powerful programmable prestidigitation
On Thu, 2003-02-27 at 04:48, Derek Fountain wrote:
I vaguely remember someone on this list mentioning a filter program which will take the bolds and other assorted fluff out of, eg., man pages, so they can be printed. I currently use a line like:
zcat /usr/share/man/man3/getopt.3.gz | nroff -man | lpr -Plist
which works fine for my dot matrix printer. However, it'd go a lot quicker if I could get rid of all the backspacing etc. used to print the (superflous to me) emboldening of text.
Can someone remind me what that filter is called?
Maybe col -b ? -- Marshall "Nothing is impossible, We just do not have all the anwsers to make the impossible, possible."
On Thu, 27 Feb 2003 20:48, Derek Fountain wrote:
I vaguely remember someone on this list mentioning a filter program which will take the bolds and other assorted fluff out of, eg., man pages, so they can be printed. I currently use a line like:
zcat /usr/share/man/man3/getopt.3.gz | nroff -man | lpr -Plist
which works fine for my dot matrix printer. However, it'd go a lot quicker if I could get rid of all the backspacing etc. used to print the (superflous to me) emboldening of text.
Can someone remind me what that filter is called?
The command I user all the time to print man pages is:- man -t command | lpr Have a look at man man for full details -- Regards, Graham Smith ---------------------------------------------------------
On Friday 28 February 2003 00:30, Graham Smith wrote:
On Thu, 27 Feb 2003 20:48, Derek Fountain wrote:
I vaguely remember someone on this list mentioning a filter program which will take the bolds and other assorted fluff out of, eg., man pages, so they can be printed. I currently use a line like:
zcat /usr/share/man/man3/getopt.3.gz | nroff -man | lpr -Plist
which works fine for my dot matrix printer. However, it'd go a lot quicker if I could get rid of all the backspacing etc. used to print the (superflous to me) emboldening of text.
Can someone remind me what that filter is called?
The command I user all the time to print man pages is:- man -t command | lpr
Yep, but as I said, I have a dot matrix printer, and I don't want it printing 15 pages of raw Postscript... I want text, plain and simple! :o) -- Microsoft Palladium: "Where the hell do you think YOU'RE going today?"
On Thursday 27 February 2003 01:48, Derek Fountain wrote:
I vaguely remember someone on this list mentioning a filter program which will take the bolds and other assorted fluff out of, eg., man pages, so they can be printed. I currently use a line like:
maybe try: man -t getopt | mpage -P list from 'man man': man -t alias | lpr -Pps Format the manual page referenced by `alias', usually a shell manual page, into the default troff or groff format and pipe it to the printer named ps. The default output for groff is usually PostScript. man --help should advise as to which processor is bound to the -t option. 'mpage' will save you some paper. The default is to print things 4-up, you can also have it print 2 pages per sheet with 'mpage -2'. Man pages can get a tad long and mpage really helps on these :) good luck, brian -- Brian Jackson Photo http://www.brianjacksonphoto.com Action Athletics "Sports Photography for You" http://www.actionathletics.com
participants (5)
-
brian jackson
-
Derek Fountain
-
Graham Smith
-
Marshall Heartley
-
zentara