1NCARV_SPOOL(5NCARG)              NCAR GRAPHICS             NCARV_SPOOL(5NCARG)
2
3
4

NAME

6       ncarv_spool  -  spooled  device  configuration  table  for  interactive
7       metafile translator ictrans
8

SYNOPSIS

10       $NCARG_ROOT/lib/ncarg/ncarv_spool
11       ~/.ncarv_spool
12

DESCRIPTION

14       The ncarv_spool file contains definitions for  spooled  devices  to  be
15       used  by  ictrans.  Each definition describes a rule used for sending a
16       set of metafile frames to a spooled device.
17
18       Each entry consists of a line of the form:
19
20              alias_name : translator_args : filter_chain
21
22
23       alias_name          an identifier unique to the file. It is  the  alias
24                           by which the definition may be referenced.
25
26       translator_args     translator_args  is  a list of valid ctrans command
27                           line arguments to be passed  to  ctrans.   Metafile
28                           frames  are  translated by ctrans and the output of
29                           this translation is made available for further pro‐
30                           cessing as specified by the remaining spooler defi‐
31                           nition.
32
33       filter_chain        is a set of simple commands separated by  the  UNIX
34                           pipe  symbol  |.  filter_chain may be terminated by
35                           the UNIX file redirection symbols > or >> filename.
36                           Output  from  ctrans  is made available to the pro‐
37                           cesses defined in filter_chain.
38
39       A pound-sign (#) as the first character indicates a comment line  which
40       is  ignored  by  routines that read this file.  The order of entries in
41       ncarv_spool is important. If an alias name  conflict  arises  the  last
42       definition encountered is given precedence. Any previous definition for
43       the same alias name is discarded.
44

EXAMPLES

46       The following is an example ncarv_spool file. The first entry describes
47       a  device  named  postscript.  When postscript is named as the spooling
48       device, metafile frames  are  translated  by  ctrans  into  the  format
49       described  by the ps.mono graphcap. The font font1 is used for CGM text
50       elements.  The result of this translation will be piped  to  lpr.   The
51       second  entry  is  named  dicomed.   The  dicomed  entry specifies that
52       metafile frames will be rasterized at a 1857 by 1183  pixel  resolution
53       and output in X11 xwd format. The result of this rasterization is piped
54       to a program x11tonrif which in turn sends  its  output  to  a  program
55       called  rasttg.  In the third example the final output is directed to a
56       file called sunfile.
57
58              #
59              # example ncarv_spool file
60              #
61              postscript : -d ps.mono -f font1 : | lpr -Pprinter0
62              dicomed : -d xwd -geom 1857x1183 : | x11tonrif | rasttg -tc
63              sunraster : -d xwd -geom 1152x900 : | x11tosun > sunfile
64

ENVIRONMENT

66       NCARG_ROOT
67              Path to root of NCAR Graphics installation.
68
69       NCARG_LIB
70              If set this variable contains the path  to  the  installed  NCAR
71              Graphics libraries.  NCARG_LIB overrides NCARG_ROOT.
72

FILES

74       $NCARG_ROOT/lib/ncarg/ncarv_spool       -  System spooler configuration
75                                               file
76
77       $HOME/.ncarv_spool                      -  User  spooler  configuration
78                                               file
79

SEE ALSO

81       ctrans(1NCARG), ictrans(1NCARG)
82
83       Hardcopy: NCAR Graphics Fundamentals, UNIX Version
84
86       Copyright (C) 1987-2009
87       University Corporation for Atmospheric Research
88
89       The use of this Software is governed by a License Agreement.
90
91
92
93NCARG                            January 1993              NCARV_SPOOL(5NCARG)
Impressum