Spooler Programmer's Guide
Spooler Procedure Calls
Spooler Programmer’s Guide—522287-002
4-39
SPOOLERCOMMAND Procedure and Subcommand
Parameters
The filename parameter can be specified as either an INT:12 or a STRING:24. The
format in either case is
$Volume name in bytes 0-7
Subvolume name in bytes 8-15
File name in bytes 16-23
Spoolcom FONT Command Parameters
To send the equivalent of a Spoolcom FONT command, specify a file number for the
filenum-of-supervisor parameter and a command-code of 7. The command-
parameter in this case is the font name, not to exceed eight words in length. Find
the subcommand-code and the subcommand-parameter for the Spoolcom FONT
parameters you want from Table 4-9.
filenum-of-supervisor: a file number
command-code: 7
command-parameter: a font name
For example, to create a font called PRTPAYCHK and associate font job 1843 with this
font, you could enter the following:
INT .FONTNAME [0:15] := ["PRTPAYCHK "];
COM^ERROR := SPOOLERCOMMAND (4, 7, FONTNAME, 117, 1843);
Refer to the Spooler Utilities Reference Manual for a description of the Spoolcom
FONT parameters.
Table 4-8. SPOOLERCOMMAND Parameters for Spoolcom SPOOLER
Spoolcom SPOOLER
Subcommand
subcommand-code
(Fourth Parameter)
subcommand-parameter
(Fifth Parameter)
DRAIN 114 None
DUMP 157 filename (INT:12)
ERRLOG 151 filename (INT:12)
MGRACCESS 158 0 = off, 1 = on (INT:1)
START 115 None
Table 4-9. SPOOLERCOMMAND Parameters for Spoolcom FONT
Spoolcom FONT
Subcommand
subcommand-code
(Fourth Parameter)
subcommand-parameter
(Fifth Parameter)
DELETE 116 None
JOB 117 job number (INT:1)