![HP Guardian User Manual Download Page 244](http://html.mh-extra.com/html/hp/guardian/guardian_user-manual_165061244.webp)
Introduction to the Spooler
Guardian User’s Guide — 425266-001
12 -10
Printing To the Spooler
Printing To the Spooler
To use the spooler from the TACL program, you specify a spooler destination for the
OUT file parameter when you run your application. The spooler destination can either
be a spooler location or a SPOOL DEFINE.
Sending Output to a Spooler Location
You can send your output directly to the spooler by designating a collector (such as $S)
and a location (such as #LP.WEST) as the OUT file when you run your application. For
example, to send the output from a TFORM process to the spooler:
The collector $S creates the spooler job, assigns a job number, and stores the output in a
disk file. When TFORM is finished, the spooler puts the job in the READY state.
If a printer is associated with #LP.WEST, the job is printed when the printer is available.
If a printer is not associated with the location, the job remains on the print queue until
you delete it or send it to another printer.
The command is still valid if you do not specify the entire location name:
If #LP is a nonbroadcast group, the job is printed on the first available printer associated
with the #LP group.
For location groups that have only one associated printer, the full location name is
unnecessary. This is a valid TFORM command that does not specify the location:
In this case, the job is sent to #DEFAULT and is printed on one of the printers
associated with the #DEFAULT group name.
10> TFORM /IN MYFILE, OUT $S.#LP.WEST/
11> TFORM /IN MYFILE, OUT $S.#LP/
12> TFORM /IN MYFILE, OUT $S/
Summary of Contents for Guardian
Page 24: ...About This Guide Guardian User s Guide 425266 001 xxii Your Comments Invited ...
Page 100: ...Part II Managing Files Using the File Utility Program FUP Guardian User s Guide 425266 001 ...
Page 146: ...Part III Managing Disk and Tape Processes Guardian User s Guide 425266 001 ...
Page 234: ...Part IV Using the Spooler and Its Utilities Guardian User s Guide 425266 001 ...
Page 322: ...Part V Security Features and Other Guardian Utilities Guardian User s Guide 425266 001 ...
Page 368: ...Monitoring Event Messages Guardian User s Guide 425266 001 17 14 Using the Event Viewer ...
Page 460: ...Index Guardian User s Guide 425266 001 Index 24 Special Characters ...