About the RPG example print program
After compiling these programs, called DEM44C, a display screen appears
warning you about having the correct print file and outque. If necessary,
change DEM44C.
The display screen requires a user name. Enter your name and press the ENTER
key. The screen blanks out and a label prints. Use the CMD KEY 3 to exit the
program.
Note: The following program contains X's in place of a printer model number. Please
insert the model number of your printer in place of the X's.
RPG example print program
THIS PROGRAM WILL SHOW YOU HOW TO PRINT TO AN OUTQUE ON THE IBM AS/400.
QPRINT AS THE OUTPUT FILE AND PRT01 AS THE OUTQUE.
PLEASE STOP AND CHANGE THE CLP PROGRAM DEM44C.
CLP program
/*
/*
PROGRAM:
DEM44C
/*
PGM
OVRPRTF
CALL
DLTOVR
ENDPGM
I N T E R M E C
PRINTER DEMONSTRATION
FILE(QPRINT) OUTQ(PRT01)
PGM(DEM44R)
FILE(QPRINT)
Twinax Interface
DEM44D
WE ARE USING
IF YOU DO NOT HAVE EITHER OR BOTH,
*/
*/
*/
T
21