There are tools in QUSRTOOL that use some of the spooled file and print APIs. To show how to use these APIs, source code for these tools is provided in the examples.
These tools use most of the spooled file and print APIs discussed in this part. Additionally, some CL commands are used in the tools.
The tools are:
This tool uses the following spooled file APIs:
It also makes use of the following save and restore APIs:
This tool uses the QWPZTAFP print API.
This example of the customized print separator exit program builds program QSPBLSEP. QSPBLSEP can be used to generate data for separator pages.
This example of the Writer Transform exit program provides page range support for remote writers and CL commands Send TCP/IP Spooled File (SNDTCPSPLF) and LPR.
This example of the Print Driver exit program provides the function of sending spooled files from an output queue to an ASCII printer device which is attached to an LPD server.
A description of the SAVRSTSPLF tool can be found in member TSRINFO. A description of TRNAFP can be found in member TWPINFO. A description of QSPBLSEP can be found in member TBSINFO. A description of TSPRWPR can be found in member TSPRWPRI. A description of TSPLPRD can be found in member TSPLPRDI. All members are associated with file QATTINFO, library QUSRTOOL. File QATTINFO also contains information on how to use QUSRTOOL.
Top | Print APIs | APIs by category |