3 % 16^3 x 0 .. 3 1 Y per page
4 % 8^3 x 4 .. 7 4 Y per page 8 = 0 2 4 6 8 10 12 15
12 /printareax paperx margin 2 mul sub def
13 /printareay papery margin 2 mul sub def
18 /szox printareax textx sub def
19 /szoy printareay texty sub def
21 % o = outer, i = inner, f = final
34 /digits [ (0) (1) (2) (3) (4) (5) (6) (7) (8) (9)
35 (a) (b) (c) (d) (e) (f) ] def
37 /Helvetica findfont texty scalefont setfont
47 blacky neg kmy add stridiy mul
57 /stridox gridox gn div def
58 /stridoy gridoy gn div def
60 /szix stridox margox sub def
61 /sziy stridoy margoy sub def
63 /stridix szix knx div def
64 /stridiy sziy kny div def
66 /szfx stridix margix sub def
67 /szfy stridiy margiy sub def
69 0 1 gm { /magenta exch def
70 0 1 gm { /cyan exch def
76 cyan neg gm add stridoy mul translate
80 0 1 kmx { /blackx exch def
81 0 1 kmy { /blacky exch def
106 text_l_p text_u_p and {
111 0 stridoy neg translate
113 0 1 kmx { /blackx exch def
114 0 1 kmy { /blacky exch def
115 kentry_moveto exch 0.65 mul exch moveto
116 klist_get digits exch get
130 0 1 gm { /yellow exch def
136 yellow (___) cvs show
144 margin margin translate
162 /klist [ 0 1 2 3 ] def
163 /ylist [ 0 1 2 3 5 8 11 15 ] def
177 /gridox szox 2 div margbx sub def
178 /gridoy szoy 2 div margby sub def
180 0 1 1 { /yellowpage exch def
181 0 1 1 { /yellowx exch def
182 0 1 1 { /yellowy exch def
186 yellowy neg 1 add 2 mul add
190 yellowx gridox margbx add mul
191 yellowy gridoy margby add mul
194 /yellow ylist yellowix get def
196 /text_l_p yellowx 0 le def
197 /text_u_p yellowy 1 ge def
209 /klist [ 4 5 6 7 ] def ranges2
210 /klist [ 8 10 13 15 ] def ranges2