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
40 /stridox gridox n div def
41 /stridoy gridoy n div def
43 /szix stridox margox sub def
44 /sziy stridoy margoy sub def
46 /stridix szix knx div def
47 /stridiy sziy kny div def
49 /szfx stridix margix sub def
50 /szfy stridiy margiy sub def
52 margin margin translate
55 0 1 m { /magenta exch def
56 0 1 m { /cyan exch def
61 cyan neg m add stridoy mul translate
65 0 1 kmx { /blackx exch def
66 0 1 kmy { /blacky exch def
80 blacky neg kmy add stridiy mul
98 0 1 m { /yellow exch def
102 /Helvetica findfont 18 scalefont setfont
105 yellow (___) cvs show
117 /klist [ 0 1 2 3 ] def
118 /ylist [ 0 1 2 3 5 8 11 15 ] def
129 /gridox szox 2 div margbx sub def
130 /gridoy szoy 2 div margby sub def
132 0 1 1 { /yellowpage exch def
133 0 1 1 { /yellowx exch def
134 0 1 1 { /yellowy exch def
138 yellowy neg 1 add 2 mul add
142 yellowx gridox margbx add mul
143 yellowy gridoy margby add mul
146 /yellow ylist yellowix get def
159 /klist [ 7 8 9 15 ] def ranges2
160 %/klist [ 4 5 6 7 ] def ranges2
161 %/klist [ 8 10 13 15 ] def ranges2