Print line or AFP data
on a PostScript printer
using the Print Interface subsystem
These examples show how to print line data and AFP data on a PostScript printer. These
examples assume that your administrator has created two IP PrintWay™ printer definitions
named mypsprinter and anypsprinter in the Infoprint Server
Printer Inventory:
- The AFP to PostScript transform is specified
in both printer definitions.
- Class P is specified in both printer definitions. Therefore, CLASS=P
is not specified on the OUTPUT JCL statement in these examples.
- Printer definition mypsprinter contains the printer's
IP address and print queue name.
- Printer definition anypsprinter specifies the LPR transmission
protocol, but does not specify your printer's
IP address and print queue name. Example 3 shows how to specify your
printer's IP address and print queue name on the OUTPUT JCL statement.
- In this example, the Print Interface subsystem named AOP1 transforms
the data in two data sets to PostScript format
and writes the PostScript data
to two output data sets on the JES spool. The last qualifiers of the
data sets names are DATA1 and DATA2. The subsystem uses options specified
in mypsprinter. IP PrintWay then
prints both data sets on the printer whose address is specified in mypsprinter.
//SSJOB1 JOB ...
//STEP1 EXEC PGM=USERA
//DD1 DD SUBSYS=(AOP1,'mypsprinter'),DSNAME=&&DATA1
//DD2 DD SUBSYS=(AOP1,'mypsprinter'),DSNAME=&&DATA2
- In this example, the Print Interface subsystem named AOP1 transforms
the data to PostScript format
and writes the PostScript data
to an output data set on the JES spool. The subsystem uses options
specified in mypsprinter. However, it uses form definition F1MYDEF in
library MYLIB to transform the data. IP PrintWay then prints the data
on the printer whose address is specified in mypsprinter.
//SSJOB2 JOB ...
//STEP1 EXEC PGM=USERA
//OUTDS1 OUTPUT FORMDEF=MYDEF,USERLIB=MYLIB
//DD1 DD SUBSYS=(AOP1,'mypsprinter'),OUTPUT=(*.OUTDS1)
- In this example, the Print Interface subsystem named AOP1 transforms
the data to PostScript format
and writes the PostScript data
to an output data set on the JES spool. The subsystem uses options
specified in anypsprinter. IP PrintWay then prints the data to queue RAW on
the printer with IP address 99.153.123.232.
//SSJOB3 JOB ...
//STEP1 EXEC PGM=USERA
//OUTDS1 OUTPUT DEST='IP:99.153.123.232',PRTQUEUE='RAW'
//DD1 DD SUBSYS=(AOP1,'anypsprinter'),OUTPUT=(*.OUTDS1)
|