| United States-English |
|
|
|
![]() |
HP Distributed Print Service User's Guide: HP 9000 Computers > Chapter 3 Command Reference Using an Attributes File |
|
You may want to pre-define specific attribute value pairs in permanent files and access them when you need those specific values within a command. When creating a file containing attribute and value pairings, you may want to use space between the end of each attribute name and the equal sign so the equal signs and values are aligned. (See the sample attribute file in the section below.) This makes your files easier to read and maintain. If you do not specify a full path name for your attributes file, HPDPS uses the path name from the environment variable PDPATH to locate the attributes file. If PDPATH is undefined or contains a null string, HPDPS looks in your current working directory for the attributes file. For example, if PDPATH contained /home/smith/, the following command would read file /home/smith/my_attributes to obtain the attributes file:
You can read in an attribute file in the following ways:
Both of the previous examples referenced the following sample attributes file:
This attributes file is equivalent to the following command:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||