[Previous]
[Next]
NAME:
idlprint
PURPOSE:
Spawned by IDL procedure spitplot to send plots to the HP LaserJet III
printer.
CALLING SEQUENCE
idlprint plot_file
INPUTS:
plot_file name of a plot file created by IDL
OUTPUTS:
(hardcopy on LaserJet III)
SEE ALSO:
spitplot
PROCEDURE:
A new file is written with the following content:
<ESC>E (printer reset)
<ESC>%0B (puts printer in graphics mode HP-GL2)
< content of 'plot_file' > (appended using unix 'cat' command)
<ESC>%0A (puts printer back into PCL mode)
<ESC>%0A (repeat command to eject the page;
don't know why we need it, but it works)
This file is then send to the printer using:
lpr -Pprint185 -r
(the -r switch deletes the file after printing)
'plot_file' is explicitly deleted with the 'rm' command.
MODIFICATION HISTORY:
Kevin Nguyen, Paul Hick (UCSD/CASS)
The procedure used here is essentially the same as used on VMS.
NOV-2005, Paul Hick (UCSD/CASS; pphick@ucsd.edu)
Modified to print to the first queue that is ready to print
(by looking at output of lpq command).
[Previous]
[Next]
NAME:
intel_setup
PURPOSE:
Sets up environment for Intel compilers
CATEGORY:
smei/com/linux
CALLING SEQUENCE:
. $COM/intel_setup
INPUTS:
(none)
CALLED BY:
login
CALLED BY:
login
PROCEDURE:
Sets up environment for Intel Fortran and C++ compiler
For version 6 and 7 the directory
/opt/intel/compiler??/ia32/bin (??=60 or 70)
should contain the compilers.
For version 8.0 the Fortran and C++ compilers are in
separate directories /opt/intel_cc_80 and /opt/intel_fc_80
MODIFICATION HISTORY:
JAN-2003, Paul Hick (UCSD/CASS)
MAY-2004, Paul Hick (UCSD/CASS)
Added setup for version 8.0 compilers.
Added check for existence of env var ARCH. If not defined
it is set to $(uname -m)_$(uname -s)
MAR-2005, Paul Hick (UCSD/CASS; pphick@ucsd.edu)
Removed support for all version prior to 9.0