HP-UX 11i v3 International Printing Features
29
Locale Alias
For local-language character printing, locale is one of the most important options that you specify. To
make typing the locale name easier, users can define an alias for the locale name, like “Japanese”
for ja_JP.SJIS.
Setup Macro
A setup macro is used for representing a number of individual command-line options or keyword-
option pairs by a simple, easily remembered word. For example, to print 160 narrow characters per
line in landscape mode, you can define l160 as a macro for the option sequence landscape
width=160. This feature also enables users to use a simple name to indicate complicated PPD
features with mutual dependencies.
By assigning aliases to PPD keywords and by creating setup macros, you can create a set of
consistent printing options in a heterogeneous printing environment with printers from different
manufacturers.
Features of the psfontpf Print Filter
Figure 4 illustrates all the different input that the psfontpf print filter gets from within a PS.font-
derived printer interface file.
Figure 4: Relationship Between psfontpf and PS.font-Derived Interface File
The psmsgen configuration tool sets up the PPD file to be used, as well as a user configuration file, if
applicable. The tool also sets up other configuration data such as default locale, printer-installable
options, and so on. In addition to the optional user configuration file, the psfontpf print filter reads
in a system configuration file as well as a locale-specific configuration file, if present, under the
/usr/lib/lp/psfontpf/pscf directory. These configuration files are used to provide the
following information:
• Font files or font names to use for different language environments and their locations in the file
system and the typeface names
PS.font derived interface file
PPD PSCF
psfontpf print filter
Other configuration data
Input File
(
Text/PostScri
p
t
)
Output
(
PostScri
p
t
)
PPD – PostScript printer description file
PSCF
–
p
sfont
p
f confi
g
uration files
Command line
o
p
tions