APPEND-SPOOLING-FILE

From NDWiki
Revision as of 12:28, 28 September 2017 by Tingo (talk | contribs) (created APPEND-SPOOLING-FILE page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
@APPEND-SPOOLING-FILE <peripheral file name>, <file name>, <no. of copies>, <text> [, <printing message?>]

Append one or more copies of a file to a spooling queue.

<peripheral file name>
name of spooling device.
<file name>
the file to be appended.
<no. of copies>
(default = 1, decimal) number of copies to be output on the spooling device.
<text>
any printable characters terminated by an apostrophe. The text is printed on the error device when file output is started (no text is specified by an ').
<printing message?>
(default = NO) YES = wait for a @START-PRINT after printing <text>. This specification overrides @DEFINE-SPOOLING-CONDITIONS. NO = the text is printed on the error device only if @DEFINE-SPOOLING-CONDITIONS specifies print.

Rules:

  1. Permitted for all users.
  2. If no <text> is specified, the last parameter is ignored.

Example:

@APPEND-SPOOLING-FILE LINE-PRINTER, F-1,, MOUNT-FORM-1', YES

One copy of the file F-1 is appended to the spooling queue to LINE-PRINTER. The message "MOUNT-FORM-1" is output on the error device before the printing starts. The spooling program the waits for @START-PRINT.

Related commands

@DEFINE-SPOOLING-CONDITIONS

@LIST-SPOOLING-QUEUE

References

Norsk Data Document ND–60.128.03 SINTRAN III REFERENCE MANUAL (printed February 1983), page 1-26

Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD