HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
p
psfontpf(1M) psfontpf(1M)
NAME
psfontpf - internationalized PostScript print filter
SYNOPSIS
/usr/lbin/psfontpf
[-c][-C config-file][
-D keyword=option][-I keyword=option]
[
-K keyword=aliases][
-l logfile][-L locale=aliases][-n number][-N keyword]
[
-o option-lists][-O [keyword:]option
=aliases][-p][-P ppd-file][-q interface-script]
[
-S macro[/desc]
=option-lists][-t title][-T tray=paper][-u user][
-v]
Remarks
The
psfontpf command should only be called from the
PS.font printer model script or its derivatives.
Only the
-n, -o, and -t
options are user-accessible through the corresponding options in the
lp com-
mand. Only the sub-options available under the user-accessible
-o option are explained in more detail.
See the User Specified -o Option Lists section in this manpage. The other options are not directly user-
accessible and are only briefly described. See psmsgen(1M) on how to create a customized version of the
PS.font printer model script by adjusting the various options supported by the
psfontpf print filter.
DESCRIPTION
The
psfontpf filter is a generic text-to-PostScript converter that converts the various single byte and
multibyte characters used in an international environment to printable PostScript file. The filter embeds
all required PostScript font data within the PostScript program, if necessary. Therefore, print jobs that
include local language characters can be printed on printers where local language fonts are not present.
There are two ways to notify psfontpf on what character set encoding (codeset) is used in the input file:
by specifying the locale or the codeset name. For codesets that are supported by locales, the specification of
locale names are preferred over the direct specification of codeset names because the locale names are also
associated with fonts and proper character display width information. Because psfontpf converts all
characters internally to Unicode, codesets or locales whose codesets cannot be converted to Unicode directly
are not supported.
To use the psfontpf filter with a printer, the printer has to support PostScript Level 2 or higher. Some
features are supported only on printers that support PostScript Level 3.
The psfontpf filter also supports embedding font data to PostScript files generated by the Mozilla web
browser. For example, by making the Mozilla web browser print to an LP destination that uses the
psfontpf print filter, web pages containing non-Latin 1 characters can be printed correctly on a
PostScript printer.
The psfontpf filter supports the parsing of Adobe PostScript printer description file (PPD) to retrieve
information on using diverse features of various PostScript printers. Without specifying a PPD file, many
of the advanced printing features, like duplex printing, will not be available for use.
Options
The psfontpf filter recognizes the following options:
-c Print control characters and suppress page break.
-C config-file Specify additional configuration file to override entries from the default
configuration files.
-D keyword=option Set the specified option key as the default value for the given PPD main
keyword.
-i req-id Specify the request id to be printed on the banner page.
-I keyword=option Set the specified option key as the value of the given PPD installable option
keyword.
-K keyword=aliases Specify a set of comma-separated aliases for the given PPD main keyword.
-l logfile Specify a log file to log error and informational message. By default, the
log file is /var/adm/lp/psfontpf.log.
-L locale=aliases Specify a set of comma-separated aliases for the given locale name, such as,
japanese for ja_JP.eucJP.
-n number Print the specified number of copies.
HP-UX 11i Version 3: February 2007 − 1 − Hewlett-Packard Company 167