LinuxCommandLibrary

grops

Groff PostScript output driver

TLDR

Convert groff to PostScript

$ groff -Tps [file.roff] > output.ps
copy
Direct grops usage
$ grops [file] > output.ps
copy
Specify paper size
$ grops -p [a4] [file] > output.ps
copy
Landscape mode
$ grops -l [file] > output.ps
copy

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.

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.

SEE ALSO

groff(1), gropdf(1), ps2pdf(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community