z/OS Communications Server: IP Network Print Facility
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Page format table examples

z/OS Communications Server: IP Network Print Facility
SC27-3658-00

Figure 1 shows what a user-modified page format table might look like. This does not resemble the IBM-supplied source code.

Figure 1. Example of EZAPPDPF macro use
***** This first macro starts the  EZAPPPFT CSECT.
***** It uses all default values.
***** Bottom margin at line 1 suppresses automatic
***** form feed insertion.
 DEFAULT  EZAPPDPF
 *
 *
***** The next macro specifies
***** format for printers that support 80 columns
***** by 66 lines and places print data in columns
***** 1 through 80 and lines 1 through 66.
***** Set no horizontal tabs.  Set no vertical tabs.
***** Set CH01=1.  (CH02 through CH12 are not set.)
 LETTER   EZAPPDPF MPP=80,MPL=66       physical page columns, lines
 *
 *
***** The next macro specifies format for printers
***** that support 132 columns by 66 lines and places print
***** data in columns 10 through 120 and lines 6 through 60.
***** Set horizontal tabs in columns (10,) 25, 50, 75 and 100.
***** Set vertical tabs in lines (6,) 20, 30, 40 and 50.
***** Set CH01=6, CH02=20, CH03=30, CH04=40, and CH05=50.
*****     (CH06-CH12 are not set.)
WIDE     EZAPPDPF MPP=132,MPL=66,        physical page columns, lines  X
               LM=10,RM=120,TM=6,BM=60,  page margins                  X
               HT=(25,50,75,100),        horizontal tab stops          X
               VT=(20,30,40,50)          vertical tab stops
 *
 *
***** The next macro specifies format for printers
***** that support 255 columns by 255 lines.
***** Place print data in columns 15 through 250,
***** lines 10 through 250.
***** Set horizontal tabs in columns (15,) 25, 75 and 100.
***** Set vertical tabs in lines (10,) 15, 50, 100, 150, 250.
***** Set CH01=10, CH02=15, CH05=50, CH08=200, CH10=150,
***** and CH12=250.
***** (CH03, CH04, CH06, CH07, CH09, and CH11 are not set.)
MAX      EZAPPDPF MPP=255,MPL=255,        physical page columns, lines X
               LM=15,RM=250,TM=10,BM=250, page margins                 X
               HT=(25,100,0,75),          horizontal tab stops         X
               VT=(15,0,0,50,0,0,200,0,150,0,250)  vertical tab stops
 *
 *
          END   ,                  indicates end of module EZAPPPFT ****

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014