The Production Phase

With the new print application designed, it is ready to be placed into production.
Youdefine the desired production characteristics to APU. These characteristics
include how to identify the target spooled file, which print definition to use, what
user-specific programs should be called during processing, and the disposition of
both the input and output spooled files. With this information in place, you start
the APU Monitor.
The APU Monitor automatically monitors iSeries output queues, looking for the
specified spooled file. When that target file is identified, it is retrieved and passed
to the APU print engine. The APU print engine uses the formatting instructions
contained in the APU print definition to create a newAFP output file and place it
in an output queue.
At this point, standard iSeries print management takes over.When the new file is
to be printed, PSF/400 manages the printing process (including the retrieval and
management document resources such as overlays, images, and fonts) to an IPDS
printer.Alternatively, the new print file can be routed through Host Print
Transformto an HP-PCL printer.
APU formatting instructions
APU enables you to build a print definition, which is a set of instructions for
formatting the data that is contained in a spooled print file. Aprint definition can
contain one or more page formats, enabling you to change formatting instructions
for different pages in the spooled file. Withinthe page format, you can define one
or more copies of each input page. Figure2 shows the relationship among these
APU concepts.
Youcan specify a single page format in a print definition, if all of the pages in
your spooled file are formatted in the same way.An application that might require
only one page format is a one-page form such as an invoice, where all of the fields
on the form are predefined, and a second page is never required.
Even though you define only one page format in the print definition, you can still
use the APU multiple copy function to produce differentcopies of the same page,
Figure 2. APU Data Structure
6APU User’s Guide