HP-UX Reference (11i v2 04/09) - 1 User Commands N-Z (vol 2)
n
nroff(1) nroff(1)
832 for the Anderson Jacobson 832
X for a (generic) EBCDIC printer
2631 for the Hewlett-Packard 2631 line printer
klp for a (generic) 16-bit character printer having ratio of 2 to 3 in 8-bit
and 16-bit character width
lj for Hewlett-Packard PCL3 and newer laser printers.
-e Produce equally-spaced words in adjusted lines, using the full resolution of the par-
ticular terminal.
-h Use output tabs during horizontal spacing to speed output and reduce output char-
acter count. Tab settings are assumed to be every eight nominal character widths.
-un Set the emboldening factor (number of character overstrikes) for the third font posi-
tion (bold) to n, or to zero if n is missing.
-P If this option is specified on the command line, it allows the use of the special
feature provided by some Asian printers which prints two column wide characters
in 3/2 column wide boxes.
EXTERNAL INFLUENCES
Environment Variables
LC_CTYPE determines the interpretation of text as single and/or multi-byte characters.
LANG is used to determine the search path for the -m option. LANG also determines the language in
which messages are displayed.
If
LC_CTYPE is not specified in the environment or is set to the empty string, the value of
LANG is used
as a default for each unspecified or empty variable. If
LANG is not specified or is set to the empty string,
a default of "C" (see lang(5)) is used instead of LANG. If any internationalization variable contains an
invalid setting, nroff behaves as if all internationalization variables are set to "C". See environ (5).
EXAMPLES
The following command prints the first five pages of the document whose
nroff source file is filename:
nroff -o-5 filename
Note that there should not be a space between the
o and the - or the
- and the 5.
To print only pages 1, 3, and 4 type:
nroff -o1,3,4 filename
WARNINGS
When
nroff is used with the -olist option inside a pipeline, it may cause a harmless "broken pipe" diag-
nostic if the last page of the document is not specified in list.
FILES
/usr/share/lib/macros/* Standard macro files
/usr/share/lib/term/* Terminal driving tables for nroff
/usr/share/lib/suftab Suffix hyphenation tables
/usr/share/lib/tmac/tmac.* Standard macro files and pointers
SEE ALSO
col(1), mm(1), neqn(1), soelim(1), ul(1), man(5).
HP-UX 11i Version 2: September 2004 − 2 − Hewlett-Packard Company Section 1−−683