How to print a man file?

Gorman, John plug-discuss@lists.PLUG.phoenix.az.us
Thu, 10 May 2001 18:06:38 -0700


Another option if you want to get rid of all the ^H's in a 
man page is man manpage | col -b

This will generate plain text output.

John

-----Original Message-----
From: Bob George [mailto:plug@bobspc.dhs.org]
Sent: Thursday, May 10, 2001 5:13 PM
To: plug-discuss@lists.PLUG.phoenix.az.us
Subject: RE: How to print a man file?


Eric Richardson

> Whats the easiest way to print a man file. I need to make it a
> postscript file so I can print it or just turn it into text is okay too.
> Thanks,

'man man' yields the -t option, which works if your printer is PostScript
compatible (or can generate a LOT of wasted paper if not):

	man -t man | lpr

If you just want text:

	man man | pr | lpr

If your printer does PostScript emulation, you might try:

man -t man | mpage -2or | lpr

This is what I often use to generate two-up pages for saving a bit of paper.
See 'man mpage' and 'man lpr' for details on what those do!

- Bob

________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
to the list quickly and you use Netscape to write mail.

PLUG-discuss mailing list  -  PLUG-discuss@lists.PLUG.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss