HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
p
psmsgen(1M) psmsgen(1M)
• Set default value for PPD features
If no default value is set, the default values specified in the PPD file will be used. However, those default
values may not be optimal. This option allows the user to select default values for all the supported PPD
features. For example, you can turn on duplexing by default or select paper from the large capability
tray.
• Set default user options
This option is used to set the default values for non-PPD related features. For example, the
btray
option can be used here to specify that the banner page always comes from a specific input tray.
• Add or remove alias for PPD main keywords
A PPD main keyword is the keyword part of the keyword
=option command line option that you supply to
the
psfontpf print filter. Typical PPD main keyword names are very verbose. This option is helpful
to define alias names that will be easier to type or easier to remember for those PPD main keywords.
• Add or remove alias for PPD option keywords
A PPD option keyword is the option part of the keyword
=option command line option you supply to the
psfontpf print filter. Typical PPD option keyword names are very verbose. This option is helpful to
define alias names that will be easier to type or easier to remember for those PPD option keywords.
• Add or remove locale name aliases
This option is helpful to define easier to remember alias name for HP-UX system locales. For example,
the alias name sjis can be defined for the ja_JP.SJIS locale.
• Add or remove setup macros
The setup macro enables a user to use a easily remembered macro names to represent any combinations
of psfontpf options.
• Show all current settings
This option displays all the configured settings.
• Quit
This option causes the psmsgen command to quit without making any change.
• Save changes and exit
This option prompts the user about saving changes to the specified model or interface script.
Configuring Network Printers
The smh system management homepage can be used for configuring local printers. For configuring net-
work printers, you can use either the setnetlp configuration command or use the hppi
command in the
optional HP JetDirect Printer Installer for Unix software.
The network printer setup capability of the
smh command depends on the presence of the above HP Jet-
Direct software. The setnetlp command is recommended because it comes with the HP-UX operating
system, and it integrates well with the psmsgen command. This command sets up a network printer
using the LPD or JetDirect printing protocol. The LPD print queue name is usually "AUTO" for HP
printers.
For other printers, you may need to consult the documentation or the configuration web page to find out
what print queue name should be used. See the setnetlp(1M) manpage for details on how to use this com-
mand.
EXTERNAL INFLUENCES
Environment Variables
LANG determines the locale to use when neither LC_ALL or the other category variables specify a locale.
LC_ALL determines locale to be used. It overrides any values specified by LANG or any other LC_* vari-
ables.
EXAMPLES
When the psmsgen command is invoked without any argument, the following printer selection menus
may be displayed depending on what PPD files are available in the /usr/lib/lp/psfontpf/ppd
directory:
HP-UX 11i Version 3: February 2007 − 3 − Hewlett-Packard Company 177