How to print man pages?
I would like to print an entire man page. How is this done?
|
To print man pages:
In this example, using tar man pages. man -t tar | lpr -Pdraft Print man pages for tar (will be formatted by troff or groff, usually for PostScript) Pipe to lpr Send to printer <draft> [optional]. The command will print to the default printer if given as: man -t tar | lpr |
Thanks bigrigdriver, just what I needed!
|
re: Printing man pages
I don't have a postscript printer and when I tried the man -t <man page> | lpr method I got a man error 768. Redirecting the man output to file and then printing the file worked for me:
man ls > manls.txt ; lpr manls.txt ; rm cat manls.txt :) |
All times are GMT -5. The time now is 07:52 PM. |