This printer file example contains DDS for printing a customer master list.
The following keywords are important in the example:
EDTCDE(Y) |
UNDERLINE |
This printer file uses space and skip keywords instead of line numbers.
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A* 00020A* SAMPLE PRINTER FILE 00030A* 00040A (1) REF(MLGREFP) 00050A R HEADER TEXT('TWO-LINE HEADING, UNDERLINED') 00060A (2) SKIPB(2) 00070A (2) 29'CUSTOMER MASTER FILE' 00080A (2) 75DATE EDTCDE(Y) 00090A (2) +1TIME 00100A (2) 122'Page' 00110A (2) +1PAGNBR EDTCDE(Z) SPACEA(2) 00120A (2) 2'ACCOUNT CUSTOMER' 00130A (2) SPACEA(1) 00140A (2) 2'NUMBER NAME + 00150A ADDRESS + 00160A CITY + 00170A STATE ZIP ' 00180A (3) UNDERLINE 00190A SPACEA(2) A
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00200A R DETAIL TEXT('ONE-LINE RECORD') 00210A (4) SPACEA(5) 00220A ACTNUM R (4) 2CHRSIZ(2 2) 00230A NAME R (5)+4COLOR(BLU) 00240A ADDR R +3 00250A CITY R +3 00260A STATE R (6)+3BARCODE(CODE30F9 4 *NOHRI *AST) 00270A ZIP R +5 A