Getting Hardcopies

Getting hard-copies automatically: When the user issues the HARDCOPY option (and auto-print is set), GRAFIC issues the system command $GRAFIC_PRINT. On UNIX systems, this is interpreted as running the command whose definition is contained in the environment variable GRAFIC_PRINT. To set this variable, use c-shell command such as: setenv GRAFIC_PRINT 'lp grafic.ps' Note that your system administrator may have set up the appropriate command already for you. To check this, issue the c-shell command: printenv GRAFIC_PRINT If no definition is found, create one using the setenv command, as discussed above. Better yet, add this definition to your .cshrc file so that it will automatically be set for you in all further sessions.
For the bash-shell (standard shell for Linux systems) the following  lines should be added in the .bashrc file of your home directory:

GRAFIC_PRINT='lpr grafic.ps'
export GRAFIC_PRINT


2002 fluvial.ch