Linux "grotty" Command Line Options and Examples
groff driver for typewriter-like devices

grotty translates the output of GNU troff into a form suitable for typewriter-like devices. Normally grotty should be invoked by using the groff command with a -Tascii, -Tlatin1 or -Tutf8 option on ASCII based systems, and with -Tcp1047 and -Tutf8 on EBCDIC based hosts. If no files are given, grotty reads the standard input.


Usage:

grotty [ -bBcdfhioruUv ] [ -Fdir ] [ files... ]


    It is possible to have whitespace between the -F option and its parameter.






Command Line Options:

-b
Suppress the use of overstriking for bold characters. Ignored if -c isn't used.
grotty -b ...
-B
Use only overstriking for bold-italic characters. Ignored if -c isn't used.
grotty -B ...
-c
Use grotty's old output format (see above). This also disables color output.
grotty -c ...
-f
Use form feeds in the output. A form feed is output at the end of each page that has no output on its last line.
grotty -f ...
-h
Use horizontal tabs in the output. Tabs are assumed to be set every 8 columns.
grotty -h ...
-o
Suppress overstriking (other than for bold or underlined characters in case the old output format has been activated with -c).
grotty -o ...
-u
Suppress the use of underlining for italic characters. Ignored if -c isn't used.
grotty -u ...
-U
Use only underlining for bold-italic characters. Ignored if -c isn't used.
grotty -U ...
-v
USAGEgrotty understands a single X command produced using the \X escape sequence.\X'tty: sgr n'If n is non-zero or missing, enable SGR output (this is the default), otherwise use the old drawing scheme for bold and under‐line.ENVIRONMENTGROFF_NO_SGRIf set, the old drawing scheme for bold and underline (using the backspace character) is active. Colors are disabled.GROFF_FONT_PATHA list of directories in which to search for the devname directory in addition to the default ones. See troff(1) andgroff_font(5) for more details.FILES/usr/share/groff/1.22.3/font/devascii/DESCDevice description file for ascii device./usr/share/groff/1.22.3/font/devascii/FFont description file for font F of ascii device./usr/share/groff/1.22.3/font/devlatin1/DESCDevice description file for latin1 device./usr/share/groff/1.22.3/font/devlatin1/FFont description file for font F of latin1 device./usr/share/groff/1.22.3/font/devutf8/DESCDevice description file for utf8 device./usr/share/groff/1.22.3/font/devutf8/FFont description file for font F of utf8 device./usr/share/groff/1.22.3/font/devcp1047/DESCDevice description file for cp1047 device./usr/share/groff/1.22.3/font/devcp1047/FFont description file for font F of cp1047 device./usr/share/groff/1.22.3/tmac/tty.tmacMacros for use with grotty./usr/share/groff/1.22.3/tmac/tty-char.tmacAdditional kludgy character definitions for use with grotty.Note that on EBCDIC hosts, only files for the cp1047 device is installed.BUGSgrotty is intended only for simple documents.There is no support for fractional horizontal or vertical motions.There is no support for \D commands other than horizontal and vertical lines.Characters above the first line (i.e. with a vertical position of 0) cannot be printed.Color handling is different compared to grops(1). \M doesn't set the fill color for closed graphic objects (which grotty doesn'tsupport anyway) but changes the background color of the character cell, affecting all subsequent operations.
grotty -v ...