[Thread Prev][Thread Next][Index]
Re: Fprint
On Oct 16, 4:40pm, cortinas@manassas.nssl.uoknor.edu wrote:
> Subject: Fprint
> Any suggestions on what to do to set up the Fprint script to use the -P
> option?
>
> Thanks,
> John Cortinas
> cortinas@nssl.ou.edu
>-- End of excerpt from cortinas@manassas.nssl.uoknor.edu
Fprint already uses the -P option the error message you are getting is because
you have not set Fprint up to work at your site. What you have to do is modify
Fprint to include the printers that you have locally. To do this you edit
Fprint (location can be found by typing "which Fprint"). Go to the section that
says:
############################ MODIFY HERE ###################################
Here you will see a bunch of case statements. For example:
case COLOR_PS:
# If the printer is a color PS printer, use that device type
set translator_args = "$translator_args -l cps -d cps"
breaksw
what you need to add is case statements with appropriate translator arguments
for the printers you have locally. For example, some of the printers at our
site are:
qms - a monochrome postscript printer
teklaser - a color postscript printer
So, I add (I actually replaced the existing case statements) the following
lines to the Fprint code:
case qms
# monochrome - use default options (color/greyscale plots with monochrome
lines)
breaksw
case teklaser
# color - use color fills with color lines
set translator_args = "$translator_args -l cps -d cps"
breaksw
So, for example, let's say you have a Tek Phaser (which needs a special option
because it doesn't plot on the whole page), and it's called phaser
Add the following lines to Fprint:
case phaser
set translator_args = "$translator_args -l cps -d phaser"
breaksw
Make sure you keep a copy of the original Fprint in case you make a mistake
Mark
--
-------------------------------------------------------------------------------
Mark Verschell (verschell@coaps.fsu.edu)
Center for Ocean and Atmospheric Prediction Studies
Florida State University
2035 E. Paul Dirac Drive
R.M. Johnson Bldg. - Suite 200
Tallahassee, FL 32310
(904) 644-6532 (904) 644-4841 (fax)
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
ERL /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement