grops
Groff PostScript output driver
TLDR
Convert groff to PostScript
$ groff -Tps [file.roff] > output.ps
Direct grops usage$ grops [file] > output.ps
Specify paper size$ grops -p [a4] [file] > output.ps
Landscape mode$ grops -l [file] > output.ps
SYNOPSIS
grops [options] [file]
DESCRIPTION
grops is a groff output driver that produces PostScript. It is the primary driver for high-quality printed output from groff, generating Level 2 PostScript with support for color, graphics, and embedded fonts.Output can be printed directly or converted to PDF with tools like ps2pdf.
PARAMETERS
FILE
Groff intermediate output.-c N
Number of copies.-F DIR
Font directory.-l
Landscape orientation.-p SIZE
Paper size (letter, a4, legal).-P PROLOGUE
Use prologue file.-b
Broken flag for compatibility.--help
Display help information.
INSTALL
sudo apt install groff-base
sudo dnf install groff-base
sudo pacman -S groff
sudo apk add groff
sudo zypper install groff
brew install groff
nix profile install nixpkgs#groff
CAVEATS
Part of groff package. PostScript output can be large. Requires PostScript viewer or printer.
HISTORY
grops was developed as part of GNU groff by James Clark as the primary output driver for printed documents.