Printing a man page to a postscript printer

To use the terminal to print a postscript page of a man page use these commands:

groff -Tps -man /usr/share/man/man7/groff.7 | lpr -P LaserWriter_8500

I’m using an Apple Laserwriter 8500. To find the printers available to your lpr command use the command lpstat -a to list them. If there isn’t a printer available, you will need to set one up using your print center utility.

2 Responses to “Printing a man page to a postscript printer”

  1. Carl Ketterling Says:

    I always want to use this and forget. Here’s the command I found that works for me (and is easier to remember):

    man -t groff | lpr

    My default printer is used and the man output is already in PostScript format.

  2. Steven Andrew Miller Says:

    Thanks God! This was so very very helpful! I had been trying to figure out how to print a man page for some time. Thank You!