psfontpf.1m (2010 09)

p
psfontpf(1M) psfontpf(1M)
A latter option may invalidate a former related option. For example, a letter size page (11in x 8.5in) with
a page margin of 0.5in and a lines-per-inch of 6 will print 60 lines per page. Specifying 66 as the number
of lines per page (lines ) will then force the lines-per-inch to 6.6.
The following four groups of character spacing options are inter-related in descending priority order:
1.
hmi, vmi
2. cpi, lpi
3. lspacing
4. width, lines
When conflicting hmi and cpi
options are specified, there are two possibilities:
1. If the
hmi option specifies character spacing wider than the
cpi option, extra space is padded
between characters to satisfy both options.
2. If the
hmi option specifies character spacing narrower than the
cpi option, the print filter will
try to accommodate or adjust if the difference is only minor. In this situation, the individual
characters will be printed closer together (more packed) than their natural character-to-
character separation. Otherwise, the
hmi option overrides the
cpi option and the character
width will be reduced accordingly.
Similar results occur for conflicting
vmi
, lpi and lspacing options.
Configuration Files
The
psfontpf configuration file is mainly used to specify the name and the locations of the fonts to be
used as well as other miscellaneous configuration parameters. This configuration file is a plain text file
with a number of key-option-value triplets of the form:
key
:opt =value
The opt
= part is optional.
The
# character indicates that the rest of the line is a comment. The \ character at the end of a line
acts as a line continuation character.
The print filter reads in configuration files from the
/usr/lib/lp/psfontpf/pscf
directory. The
following configuration files will be read in the order specified:
1.
common.pscf
2. A user configuration file specified in the command line, if specified. The configuration will be
assumed to be relative to the /usr/lib/lp/psfontpf/pscf
directory unless a full path is
given.
3. locale
.pscf, if available, where locale is the locale the print filter is running in. Assuming a
locale name of the form language_territory
.codeset, the print filter will look for the first match-
ing
pscf file of the following names:
a. language_territory
.codeset .pscf
b. language_territory.pscf
c. language .pscf
An entry in the user configuration file will override the same entry in the system common configuration
file. Even though the locale specific system configuration file is read last, the entries in the user
configuration file have a higher priority and so will not be overridden by the same entry in the locale
specific file. Only font specific entries are valid in the locale specific configuration file, the other entries
will be ignored.
The supported key-option-value triplets are as follows:
banner utility: utility-path
Specify the location of a utility command to generate the banner page instead of the default
one created by psfontpf. The same -i, -t, -q, and -u banner related options will be
passed to the banner utility. If no utility is specified or the specified utility is not accessi-
ble, banner page printing will be disabled by default unless explicitly enabled in the com-
mand line.
bidi: {rtol|on|off|auto}
Specify the state of the Unicode bidirectional algorithm for text printing. The only valid
values are rtol, on, off,orauto (default). In auto mode, bidirectional algorithm will
be turned on only for Unicode text. In rtol mode, right-to-left rendering will be enforced
6 Hewlett-Packard Company 6 HP-UX 11i Version 3: September 2010