psmsgen.1m (2010 09)
p
psmsgen(1M) psmsgen(1M)
NAME
psmsgen - model script configuration utility for psfontpf
SYNOPSIS
/usr/sbin/psmsgen
[-o model-script-name][ppd-file]
/usr/sbin/psmsgen
[-p printer-model]
-m model-or-interface-script
DESCRIPTION
The
psmsgen command is a terminal-based interactive model script configuration tool for configuring
the PS.font model script that uses the
psfontpf internationalized PostScript print filter.
This command can only be run by a user with superuser privilege.
The prerequisite for configuring a certain PostScript printer is the availability of an Adobe PostScript
printer description file (PPD) for that printer. That PPD file can be searched and copied from a Microsoft
Windows system with the corresponding PostScript print driver installed. The generic
PS.font model
script can still be used directly without any configuration, but many of the device specific capabilities of
the PostScript printer will not be available for use.
The
psmsgen command is used to either create a new model script or modify an existing model script.
However, the psmsgen command cannot be used to modify the generic
PS.font model script.
The
psmsgen command also embeds a usage message into the created or modified model scripts. This
usage message explains what command line options are available. This usage message will be displayed
when the model script is run without any argument.
Options
The
psmsgen command recognizes the following options:
-o model-script-name
Specify the name of the output model script to be created. By default, the output model
script name is PS.ppd-name where ppd-name is the name of the PPD file without the .ppd
extension.
-m model-or-interface-script
Specify the model or interface script to be modified. With no path prefix, the model or
interface script will be searched from the following directories:
1)
/usr/lib/lp/model
2) /etc/lp/interface/netlp.asx
3) /etc/lp/interface/model.orig
4) /etc/lp/interface
-p printer-model
Specify the model name of the printer being configured. If the model name matches that of
one of the existing PPD files, that PPD file will be selected automatically.
If no PPD file, ppd-file, is specified in the command line, or the interface script to be modified has no PPD
file specified, or the printer model name does not match any of the existing PPD files, the command will
display a list of PPD files for the user to choose from the
/usr/lib/lp/psfontpf/ppd
directory.
The command display is a two-level selection menu and the user has to choose the printer manufacturer
and color or black and white printer first, and then the list of PostScript printers in that category.
If a PPD file is specified without a full pathname, the PPD file is assumed to be from the
/usr/lib/lp/psfontpf/ppd directory also. Even though the command allows the use of PPD file in
other non-system directories, HP recommends that the new PPD files should be copied to the default
/usr/lib/lp/psfontpf/ppd directory for easier maintenance and better availability as the
configured model script may not work correctly if the PPD file that it uses is missing. The psmsgen com-
mand provides an PPD import option to do just that.
There are two ways to configure a model script. One way is to configure the interface script with the
-m
option after the LP spooling system for a printer is set up. The other way is to create a new configured
model script for a particular type of printer in the /usr/lib/lp/model directory. The former way is
preferred for configuring a single PostScript printer or several different PostScript printers. The latter
way is more appropriate for configuring a group of similar printers at the same time.
After the
psmsgen command is entered, the user is allowed to configure any of the following settings (see
the EXAMPLES section):
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1