How to print a man file?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Gorman, John
Date:  
Subject: How to print a man file?
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:
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 -
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss