troff

Typesetting processor for the groff (GNU Troff) document formatting system. See also groff. More information: https://manned.org/troff.

troff path/to/input.roff | grops > path/to/output.ps

troff -me path/to/input.roff | grops > path/to/output.ps

troff -T ascii -man path/to/input.roff | grotty

troff -T pdf path/to/input.roff | gropdf > path/to/output.pdf