IBM S544-5351-03 Photo Scanner User Manual


 
Panel 3: Apply Print Definition
Make the entries you want. Press F1 for descriptions of the fields. Key field entries
here are:
Output bin
Where the output is to be placed.
User exit AFTER
Name of a program you want to be run after the AFPDS output spooled
file has been created. Refer to “User Exit After” on page 105.
Using the Apply Print Definition Command
One method of starting APU is to use the Apply Print Definition (APYPRTDEF)
command. This is the same command that is called when you manually apply a
print definition to a spooled file, working from the “Work with Spooled Files”
option that is described in “Manually Associating a Print Definition with a Spooled
File” on page 79.
Note: Refer to “APYPRTDEF Command” on page 111 for some helpful hints on
using the APYPRTDEF command.
To use the apply print definition command, place the command within existing
application procedures, such as a CL (Control Language) program. An example of
the command is shown below:
APYPRTDEF FILE(INVSCS) JOB(098677/JOHN/QPADEV0016) SPLNBR(10)+
PRTDEF(QAPU/INVOICE) SUCCESS(*NONE) FAILURE(*NONE) DEV(PRT3130)
This command selects the INVSCS spooled file from the currently running job
(either batch or interactive) and starts APU printing, using the INVOICE print
definition. The new AFP output is sent to the output queue that is associated with
the PRT3130 printer device.
Note: The APYPRTDEF command can also be used to run in batch.
Apply Print Definition (APYPRTDEF)
Type choices, press Enter.
Output bin . . . . . . . . . . . *SPOOLFILE 1-65536, *SPOOLFILE, *DEVD
User exit AFTER:
Program . . ......... *NONE Name, *NONE
Library Name . . . . . . . . Name, *LIBL
User parameter . . . . . . . .
Bottom
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
Figure 93. Apply Print Definition panel
82 APU User’s Guide