spool
Sends the specified file to the spooling sub-system (XSPOOL).
Syntax
spool(path, options)
Parameters
path
Full path to the file to be spooled
options
(optional) spool options to provide to the spooling sub-system
Return code
None.
Sample
spool("D:\\file\\myprint.txt"); spool(getDdPath("PRINT01"), "-N");