Ricoh InfoPrint Pro C900AFP InfoPrint Manager - Page 148
What restrictions apply?, Querying environment variables, setenv, etc/environment, profile, print
View all Ricoh InfoPrint Pro C900AFP manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 148 highlights
- In the C shell, use the setenv command. Command line settings override settings in the /etc/environment file and .profile file. These settings apply only to you and are in effect only until you exit the AIX session from which you issued the command. You cannot change the environment of a running process. If you change the value of an environment variable, you must restart any process that was started before the change if the change is to take effect for that process. For example, an InfoPrint Manager server is a process. If you change the /etc/environment file, you must stop and start the server again for the change to take effect. What restrictions apply? These restrictions apply when you create or define values for environment variables: v Ensure that newly created environment variables do not conflict with standard variables, such as MAIL, PS1, PS2, and IFS. See AIX documentation for further information. v Ensure that the information in the /etc/environment file is in the NAME=value format. The /etc/environment file is not a shell script and does not accept data in any format other than the NAME=value format. v Do not use variables to represent values in the /etc/environment file. For example: PATH=$PATH:/path1:/path2 is not a valid entry in the /etc/environment file. Instead of $PATH, enter a full path name. v The format in which you specify the value for any variable that defines directory paths determines whether your value is appended to the current value or overrides it. - This format overrides the current value: export PATH=/path1:/path2 If you do not include the InfoPrint Manager directories in the value you specify, you will not have automatic access to InfoPrint Manager. - This format appends your value to the current value: export PATH=$PATH:/path1:/path2 Querying environment variables You can use one of these AIX commands to query the value of an environment variable: v In any shell, use the echo command. v In the Korn shell, use the print command. For example, to determine the default logical printer, enter: echo $PDPRINTER Note: InfoPrint Manager uses default values for some InfoPrint Manager environment variables without setting the environment variable. When you query those environment variables and you have not set a value, the response is a blank line. To query all environment variables that have values set, enter: env 134 InfoPrint Manager for AIX: Procedures