Actually, the -P option is probably unnecessary.  Most versions of man
(men?) are smart enough to allow this:

$ man man | lpr

Jim Crossley wrote:
> 
> Jon Doe wrote:
> >
> > How would I go about printing a man page?
> 
> One possible way to print say, the manpage for man itself:
> 
> $ man -P cat man | lp
> 
> The -P option specifies the "pager" man should use.  Using cat as a
> pager is stupid, unless you just happen to want to pipe the output to
> the printer!

Reply via email to