.FL CAPITALIZE
.PS 60,72
.LM 8
.RM 72
.P 4,1
.AP
.S 2
.c ;PLOT SPOOLING
.s 2
 The plot spooler controls all inputs to the plotter,
queueing requests and processing them in the order
received. For plotters which are also printers, it
controls the switching from plot mode to print mode.
.s
 When the plot spooler is in operation, it "owns"
the Versatec;
you will not be able to send plots to it in the old way.
.s 2
To use it, you must define the PLOT command once per session
(probably in your LOGIN.COM file) by
.lit

          $ SET COMMAND SYSUSE:PLOT
.END LIT
.s
Then simply
.lit

	  $ PLOT parmfile vectfile
.end lit
.s
and the spooler will return the job entry number. "Parmfile"
and "vectfile" are normally PARM.PLV and VECTR1.PLV, but the
spooler will accept other names (or older versions).
.s 2
.ls
.le
If you do not supply "parmfile" and "vectfile", it uses 
PARM.PLV and VECTR1.PLV from your current default directory.
.s
.lit
	$ PLOT

          is equivalent to

	$ PLOT PARM.PLV; VECTR1.PLV;
.end lit
.s
.le
If you specify file names, but not directory names, it uses
your current default directory.
.s
.le
Logical names, for the directory or for the whole file, are ok.
.s
.lit
    $ ASSIGN DRD0:[REAGAN.OMICS] HOPE
    $ PLOT HOPE:PARM.PLV HOPE:VECTR1.PLV

	or

    $ ASSIGN DRD0:[MYDIR]PARM.PLV PARAMETER
    $ ASSIGN DRD0:[YOURDIR]VECTR1.PLV VECTOR
    $ PLOT PARAMETER VECTOR
.end lit
.s
.le
A directory name specified for the first parameter does not "stick"
to the second parameter; thus
.s
.lit
    $ PLOT DRA0:[MYDIR]PARM.PLV VECTR1.PLV

      won't do; use

    $ PLOT DRA0:[MYDIR]PARM.PLV DRA0:[MYDIR]VECTR1.PLV

      or

    $ SET DEFAULT DRA0:[MYDIR]
    $ PLOT
.end lit
.els
 There are two qualifiers available for the PLOT command.
.ls
.le
/DELETE causes the PLV files to be deleted after successfully
plotting them. If operation of the spooler is interrupted, or
the plot entry is removed from the queue, the DELETE qualifier
is not honored.
.le
/NOTIFY tells the spooler to let you know when the plot is complete.
If the plot was submitted from an interactive (terminal) session,
and the submitter is still logged in, a broadcast message is sent
to him. If it was submitted from a batch job, AND the batch job is
in a HIBERNATE state, the spooler will issue a WAKE on its behalf.
.els
.s
 You can examine the state of the queue(s) by
.s
.i 15
$ PSHO
.s
and you can delete an entry by
.s
.i 15
$ PDEL nnnn
.s
where "nnnn" is the entry number returned to you when you submitted
the plot, and displayed by PSHO.
.s
.c ;Dave Johnson
.c ;June 1, 1983

