summaryrefslogtreecommitdiff
path: root/doc/print-setup.eps
blob: 5488cdac30d4c7085bb7c1919f3f25f7e25c5736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: (ImageMagick)
%Title: (print-setup.eps)
%%CreationDate: (Sun Feb 29 19:56:03 2004)
%%BoundingBox: 0 0 289 226
%%LanguageLevel: 2
%%Pages: 0
%%EndComments

%%BeginDefaults
%%PageOrientation: Portrait
%%EndDefaults

%%BeginProlog
%
% Display a color image.  The image is displayed in color on
% Postscript viewers or printers that support color, otherwise
% it is displayed as grayscale.
%
/buffer 512 string def
/pixel_stream currentfile /ASCII85Decode filter def

/DirectClassImage
{
  %
  % Display a DirectClass image.
  %
  colorspace 0 eq
  {
    /DeviceRGB setcolorspace
    <<
      /ImageType 1
      /Width columns
      /Height rows
      /BitsPerComponent 8
      /Decode [0 1 0 1 0 1]
      /ImageMatrix [columns 0 0 rows neg 0 rows]
      compression 0 gt
      { /DataSource pixel_stream }
      { /DataSource pixel_stream /FlateDecode filter } ifelse
    >> image
  }
  {
    /DeviceCMYK setcolorspace
    <<
      /ImageType 1
      /Width columns
      /Height rows
      /BitsPerComponent 8
      /Decode [0 1 0 1 0 1 0 1]
      /ImageMatrix [columns 0 0 rows neg 0 rows]
      compression 0 gt
      { /DataSource pixel_stream }
      { /DataSource pixel_stream /FlateDecode filter } ifelse
    >> image
  } ifelse
} bind def

/PseudoClassImage
{
  %
  % Display a PseudoClass image.
  %
  % Parameters:
  %   colors: number of colors in the colormap.
  %
  currentfile buffer readline pop
  token pop /colors exch def pop
  colors 0 eq
  {
    %
    % Image is grayscale.
    %
    /DeviceGray setcolorspace
    <<
      /ImageType 1
      /Width columns
      /Height rows
      /BitsPerComponent 1
      /Decode [0 1]
      /ImageMatrix [columns 0 0 rows neg 0 rows]
      compression 0 gt
      { /DataSource pixel_stream }
      {
        /DataSource pixel_stream
        <<
           /K -1
           /Columns columns
           /Rows rows
        >> /CCITTFaxDecode filter
      } ifelse
    >> image
  }
  {
    %
    % Parameters:
    %   colormap: red, green, blue color packets.
    %
    /colormap colors 3 mul string def
    currentfile colormap readhexstring pop pop
    [ /Indexed /DeviceRGB colors 1 sub colormap ] setcolorspace
    <<
      /ImageType 1
      /Width columns
      /Height rows
      /BitsPerComponent 8
      /Decode [0 255]
      /ImageMatrix [columns 0 0 rows neg 0 rows]
      compression 0 gt
      { /DataSource pixel_stream }
      { /DataSource pixel_stream /FlateDecode filter } ifelse
    >> image
  } ifelse
} bind def

/DisplayImage
{
  %
  % Display a DirectClass or PseudoClass image.
  %
  % Parameters:
  %   x & y translation.
  %   x & y scale.
  %   label pointsize.
  %   image label.
  %   image columns & rows.
  %   class: 0-DirectClass or 1-PseudoClass.
  %   colorspace: 0-RGB or 1-CMYK.
  %   compression: 0-RunlengthEncodedCompression or 1-NoCompression.
  %   hex color packets.
  %
  gsave
  currentfile buffer readline pop
  token pop /x exch def
  token pop /y exch def pop
  x y translate
  currentfile buffer readline pop
  token pop /x exch def
  token pop /y exch def pop
  currentfile buffer readline pop
  token pop /pointsize exch def pop
  /Helvetica findfont pointsize scalefont setfont
  x y scale
  currentfile buffer readline pop
  token pop /columns exch def
  token pop /rows exch def pop
  currentfile buffer readline pop
  token pop /class exch def pop
  currentfile buffer readline pop
  token pop /colorspace exch def pop
  currentfile buffer readline pop
  token pop /compression exch def pop
  class 0 gt { PseudoClassImage } { DirectClassImage } ifelse
  grestore
} bind def
%%EndProlog
%%Page:  1 1
%%PageBoundingBox: 0 0 289 226
userdict begin
%%BeginData:
DisplayImage
0 0
290 227
12.000000
290 227
1
0
0
13
000000
ffffff
cccccc
7f7f7f
e5e5e5
999999
b2b2b2
d6d6d6
969696
888888
fdfdfd
c3c3c3
00009c
GhVPUM.2r.%#/?AQ#=kD5OW(N+k[D=a*70"$T/KnrfE'R*rq*6.BGsdL9?kaGn=/@DBq*CD?
Rh^S>U6DU"aHZQI,Ws-:n(K3nK#2Qdp,'0KDkpKGK>='*:R6AjYp0cqOFdDfR:T7&Q&]aAC8u
]i/kAcW%,X6JjkW0:UC?FR$r%Ft]WjbarOe&^mM(!'7A./^4E>_O`]=NX.d_T>_II%%6^5#Rm
\X$.523>KlM:4/%F(I4\7[+nu$jMe\jPmluho2CUVl+`k,:07.h)?VMORU8cDb^<Z&<:fH=-K
U0<nUQ!_+.=ILW*SSkQ&:-/;NAQjJeEpb@%dQ+*H-T<Vcjad$I>4nk;\NpEm6]-&G!`7n7%=,
\TdLI>S:hG$+iHqXE@O9<B1P2bn@qp+$+4ZeUe#2dAC&#RKRWV)-I^4m2IKEp$P4A1D<kR,qt
H<PWShiH>H@bNKRU>YpA/!IcusD63FE)tn&0n'&b+o=ha[t4,Q"I%$P4V[<iAJ96.lT./"nkO
#U-#PcnD(^&je5_;L8_'O:Y#1UhgY.hX18YhX4D+?;Bt_k3icLdPaI7MZ4BUg&u(Za;5*@(8H
Y:NuSa0[]OdF81EG\9Pd0Z6HY!Ud"mcMKVCpl\Ag@ML5:pM&dV["TX#.b+\++N7p^@(a</6O!
20K/NuUP.fa.O#eW7mM;%O.^KYTU*3XuIIRY+EV\H44-7-J[P3\R1#Yr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