1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 dcl 1 Set_page_orientation int static,
18 2 header char (3) unaligned init ("^[^RD"),
19 2 body pic "9" unaligned,
20
21 2 trailer char (1) unaligned init (" ");
22
23 dcl 1 Set_page_length int static,
24 2 header char (2) unaligned
25 init ("^[^L"),
26 2 body char (1) unaligned;
27
28
29 dcl Set_top_margin_position char (2) int static init ("^[T");
30
31 dcl 1 Set_top_margin_count int static,
32 2 header char (3) unaligned init ("^[^TT"),
33 2 body char (1) unaligned;
34
35
36 dcl 1 Set_top_margin int static,
37 2 header char (3) unaligned init ("^[^RT"),
38 2 body pic "9999" unaligned,
39 2 trailer char (1) unaligned init (" ");
40
41 dcl Set_bottom_margin_position char (2) int static init ("^[L");
42
43 dcl 1 Set_bottom_margin_count int static,
44 2 header char (3) unaligned init ("^[^TL"),
45 2 body char (1) unaligned;
46
47
48 dcl 1 Set_bottom_margin int static,
49 2 header char (3) unaligned init ("^[^RL"),
50 2 body pic "9999" unaligned,
51 2 trailer char (1) unaligned init (" ");
52
53 dcl Set_left_margin_position char (2) int static init ("^[9");
54
55 dcl 1 Set_left_margin_count int static,
56 2 header char (3) unaligned init ("^[^T9"),
57 2 body char (1) unaligned;
58
59
60 dcl 1 Set_left_margin int static,
61 2 header char (3) unaligned init ("^[^R9"),
62 2 body pic "9999" unaligned,
63 2 trailer char (1) unaligned init (" ");
64
65 dcl Set_right_margin_position char (2) int static init ("^[0");
66
67 dcl 1 Set_right_margin_count int static,
68 2 header char (3) unaligned init ("^[^T0"),
69 2 body char (1) unaligned;
70
71
72 dcl 1 Set_right_margin int static,
73 2 header char (3) unaligned init ("^[^R0"),
74 2 body pic "9999" unaligned,
75 2 trailer char (1) unaligned init (" ");
76
77
78 dcl Clear_margins char (2) int static init ("^[C");
79
80
81
82
83
84
85
86 dcl Initialize_printer char (3) int static init ("^[^ZI");
87
88 dcl Soft_reset char (3) int static
89 init ("^[^MP");
90
91 dcl Error_reset char (3) int static init ("^[^ZR");
92
93 dcl Request_status_byte_1 char (3) int static init ("^[^Z1");
94
95 dcl Request_status_byte_3 char (3) int static init ("^[^Z3");
96
97 dcl Request_printer_status char (5) int static init ("^[^Z#1 ");
98
99 dcl Request_paper_size_status char (5) int static init ("^[^Z#2 ");
100
101 dcl Request_user_memeory_status char (5) int static init ("^[^Z#4 ");
102
103 dcl Request_font_status char (5) int static init ("^[^Z#5 ");
104
105 dcl Request_character_status char (5) int static init ("^[^Z#6 ");
106
107
108
109
110
111 dcl 1 Set_hmi int static,
112 2 header char (2) unaligned init ("^[^_"),
113 2 body char (1) unaligned;
114
115
116 dcl Set_default_hmi char (2) int static init ("^[S");
117
118 dcl 1 Set_vmi int static,
119 2 header char (2) unaligned init ("^[^^"),
120 2 body char (1) unaligned;
121
122
123 dcl Begin_proportional_mode char (2) int static init ("^[P");
124
125 dcl End_proportional_mode char (2) int static init ("^[Q");
126
127 dcl 1 Set_letterspace_offset int static,
128 2 header char (2) unaligned init ("^[^Q"),
129 2 body char (1) unaligned;
130
131
132 dcl Incremental_backspace char (2) int static init ("^[^H");
133
134 dcl Begin_auto_justify_mode char (2) int static init ("^[M");
135
136 dcl Begin_auto_center_mode char (2) int static init ("^[=");
137
138 dcl End_auto_center_mode char (1) int static
139 init ("^M");
140
141 dcl Begin_program_mode char (3) int static init ("^[^NM");
142
143 dcl Cancel char (2) int static init ("^[X");
144
145 dcl Begin_newline_mode char (2) int static init ("^[?");
146
147 dcl End_newline_mode char (2) int static init ("^[!");
148
149 dcl Begin_reverse_print_mode char (2) int static init ("^[<");
150
151 dcl End_reverse_print_mode char (2) int static init ("^[>");
152
153 dcl Begin_backward_print_mode char (2) int static init ("^[6");
154
155 dcl End_backward_print_mode char (2) int static init ("^[5");
156
157 dcl Half_line_feed char (2) int static init ("^[U");
158
159 dcl Negative_line_feed char (2) int static init ("^[
160 ");
161
162 dcl Negative_half_line_feed char (2) int static init ("^[D");
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179 dcl 1 Define_movement int static,
180 2 header char (3) unaligned init ("^[^RM"),
181 2 body pic "9" unaligned,
182 2 trailer char (1) unaligned init (" ");
183
184
185
186
187
188 dcl 1 Assign_font int static,
189 2 header char (3) unaligned init ("^[^RA"),
190 2 body unaligned,
191 3 font_number pic "99" unaligned,
192 3 comma char (1) unaligned init (","),
193 3 orientation pic "9" unaligned,
194
195 3 commercial_at char (1) unaligned init ("@"),
196 3 font_name char (20) unaligned,
197 2 trailer char (2) unaligned init ("^[ ");
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215 dcl 1 Select_font int static,
216 2 header char (3) unaligned init ("^[^RS"),
217 2 body pic "99" unaligned,
218 2 trailer char (1) unaligned init (" ");
219
220
221
222
223
224 dcl Begin_underline_mode char (2) int static init ("^[E");
225
226 dcl End_underline_mode char (2) int static init ("^[R");
227
228 dcl Begin_bold_mode char (2) int static init ("^[O");
229
230 dcl Begin_shadow_mode char (2) int static init ("^[W");
231
232 dcl End_bold_and_shadow_mode char (2) int static init ("^[&");
233
234 dcl Begin_suppressed_print_mode char (2) int static init ("^[7");
235
236
237
238
239
240 dcl Set_horizontal_tab char (2) int static init ("^[1");
241
242 dcl Clear_single_horizontal_tab char (2) int static init ("^[8");
243
244 dcl Set_vertical_tab char (2) int static init ("^[-");
245
246 dcl Clear_all_tabs char (2) int static init ("^[2");
247
248
249
250
251
252 dcl 1 Absolute_horizontal_position_count int static,
253 2 header char (2) unaligned init ("^[ "),
254 2 body char (1) unaligned;
255
256
257 dcl 1 Absolute_horizontal_position int static,
258 2 header char (3) unaligned init ("^[^RH"),
259 2 body pic "9999" unaligned,
260 2 trailer char (1) unaligned init (" ");
261
262 dcl 1 Relative_horizontal_position_count int static,
263 2 header char (3) unaligned init ("^[^R "),
264 2 sign char (1) unaligned,
265 2 body char (1) unaligned;
266
267
268 dcl 1 Relative_horizontal_position int static,
269 2 header char (3) unaligned init ("^[^R "),
270 2 sign char (1) unaligned,
271 2 body pic "9999" unaligned,
272 2 trailer char (1) unaligned init (" ");
273
274 dcl 1 Absolute_vertical_position_count int static,
275 2 header char (2) unaligned
276 init ("^[^K"),
277 2 body char (1) unaligned;
278
279
280 dcl 1 Absolute_vertical_position int static,
281 2 header char (3) unaligned init ("^[^RV"),
282 2 body pic "9999" unaligned,
283 2 trailer char (1) unaligned init (" ");
284
285 dcl 1 Relative_vertical_position_count int static,
286 2 header char (3) unaligned init ("^[^R
287 "),
288 2 sign char (1) unaligned,
289 2 body char (1) unaligned;
290
291
292 dcl 1 Relative_vertical_position int static,
293 2 header char (3) unaligned init ("^[^R
294 "),
295 2 sign char (1) unaligned,
296 2 body pic "9999" unaligned,
297 2 trailer char (1) unaligned init (" ");
298
299
300
301
302
303 dcl 1 Set_number_of_copies int static,
304 2 header char (3) unaligned init ("^[^RN"),
305 2 body pic "99" unaligned,
306 2 trailer char (1) unaligned init (" ");
307
308 dcl 1 Draw_box int static,
309 2 header char (3) unaligned init ("^[^RB"),
310 2 left_edge pic "9999" unaligned,
311 2 comma1 char (1) unaligned init (","),
312 2 top_edge pic "9999" unaligned,
313 2 comma2 char (1) unaligned init (","),
314 2 right_edge pic "9999" unaligned,
315
316 2 comma3 char (1) unaligned init (","),
317 2 bottom_edge pic "9999" unaligned,
318
319 2 comma4 char (1) unaligned init (","),
320 2 line_width pic "9999" unaligned,
321 2 trailer char (1) unaligned init (" ");
322
323 dcl 1 Draw_line int static,
324 2 header char (3) unaligned init ("^[^RR"),
325 2 left_edge pic "9999" unaligned,
326 2 comma1 char (1) unaligned init (","),
327 2 top_edge pic "9999" unaligned,
328 2 comma2 char (1) unaligned init (","),
329 2 right_edge pic "9999" unaligned,
330
331 2 comma3 char (1) unaligned init (","),
332 2 bottom_edge pic "9999" unaligned,
333
334 2 trailer char (1) unaligned init (" ");
335
336 dcl Begin_graphics_mode char (2) int static init ("^[3");
337
338 dcl End_graphics_mode char (2) int static init ("^[4");
339
340 dcl Enter_vector_plot_mode_absolute_exclude char (2) int static init ("^[G");
341
342 dcl Enter_vector_plot_mode_absolute_include char (3) int static init ("^[G^G");
343
344 dcl Enter_vector_plot_mode_relative_exclude char (2) int static init ("^[V");
345
346 dcl Enter_vector_plot_mode_relative_include char (3) int static init ("^[V^G");
347
348 dcl 1 Change_plot_character int static,
349 2 header char (2) unaligned init ("^[."),
350 2 body char (1) unaligned;
351
352 dcl 1 Set_plot_precision int static,
353 2 header char (2) unaligned init ("^[,"),
354 2 xx char (1) unaligned,
355 2 yy char (1) unaligned;
356
357
358
359 dcl Exit_vector_plot_mode char (2) int static init ("^[4");
360
361