Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Distributed Print Service User's Guide: HP 9000 Computers > Chapter 3 Command Reference

Environment Variables

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

To set environment variables, edit the file that contains them. See “Defining a Default Logical Printer” in Chapter 2 for instructions on modifying your .profile file (if you are using the POSIX or Korn shell) or your .login file (if you are using the C shell).

Table 3-8 “Environment Variables ” describes the environment variables that affect how HPDPS commands are processed. For more detailed information on those environment variables used primarily by the administrator, see the HP Distributed Print Service Administration Guide.

Table 3-8 Environment Variables

Variable

Description

PDPRINTER

Used as the default logical printer by the print client when the -p PrinterName flag or the printer-name-requested attribute is not specified.

Commands: pdpr, pdq, pdls

PDPATH

A path of directories that are searched for the file name specified in the -X AttributesFileName flag. Multiple directories are separated by a colon (:). If the PDPATH environment variable does not exist, the current working directory of the person submitting the command is used. Commands: All

PDBASE

Specifies the root directory where the HPDPS server stores all of its working files, such as logging or tracing files. Each server has its own subdirectory under this directory to avoid name conflict when multiple servers are on the same machine. Commands: pdstartspl, pdstartsuv, pdstartclientd

PD_CONFIRM_DELETE

Specifies whether HPDPS issues a confirmation message before deleting a printing object.

Commands: pdclean, pddelete, pdrm

Values: yes, no

Default: yes

PD_MEMLIMIT

Defines the maximum amount of memory (in kilobytes) the spooler or supervisor can use on the host system.

PD_SOCKET

The value for the socket number provided by your HPDPS administrator. The socket number you specify should be for a HPDPS client and compatible with the value you specify for your LANG environment variable.

PD_MAXRETRIES

Specifies the number of times a command will retry when it can't reach the client daemon. (The default is 0, no retries, if PD_MAXRETRIES is not otherwise set.) A non-default value, if needed, should be provided by your HPDPS administrator. PD_MAXRETRIES is read by each command invocation. In situations involving the simultaneous arrival of concurrent print jobs when the client daemon cannot accept new requests, setting this variable to a non-default value can prevent the command from quitting prematurely.

PD_MAXTHREADS

Specifies the limit on simultaneous pdclientd command threads. (The default is 50.) This environment variable, when set, is done so in the pdstartclient script.

PD_RETRY_INTERVAL

Specifies the number of seconds to wait between command retries. (The default is 5, if PD_RETRY_INTERVAL is not otherwise set.) The value, if needed, should be provided by your HPDPS administrator. This is a back-off mechanism for burst request situations to keep the client daemon from being overwhelmed with simultaneous new requests when it is at its resource limit. PD_MAXRETRIES is read by each command invocation.

PDIDTABLE

Controls the size of the table that maps local job identifier numbers and global job identifier numbers for jobs submitted to HPDPS clients. If you have many users who submit a small number of jobs, you can improve performance by reducing the size of the tables for each user.

LANG

The name of the locale to use for local categories when neither LC_ALL nor the corresponding environment variable beginning with LC_ specifies a locale. Used to determine the language, territory, or character set of messages and other information that are sent to a person. Commands: All

LC_ALL

The name of the locale used to override any values for local categories specified by the setting of LANG or any environment variables beginning with LC_.

Commands: All

LC_CTYPE

The name of the locale for character classification.

Commands: All

LC_MONETARY

The name of the locale containing monetary-related numeric editing information.

Commands: All

LC_NUMERIC

The name of the locale containing numeric editing, such as radix and character information.

Commands: All

LC_TIME

The name of the locale for date and time formatting information.

Commands: All

LC_MESSAGES

The name of the locale for STDERR messaging.

Commands: All

NLSPATH

The NLSPATH should be set to /opt/pd/lib/nls/msg/C/%N or /opt/pd/lib/nls/msg/%L/%N:/opt/pd/lib/nls/msg/C/%N

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997 Hewlett-Packard Development Company, L.P.